aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/style
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/style')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/style/mod.rs1
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs96
2 files changed, 97 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/style/mod.rs b/crates/shirabe-external-packages/src/symfony/console/style/mod.rs
new file mode 100644
index 0000000..e5c930f
--- /dev/null
+++ b/crates/shirabe-external-packages/src/symfony/console/style/mod.rs
@@ -0,0 +1 @@
+pub mod symfony_style;
diff --git a/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs b/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs
new file mode 100644
index 0000000..288a79d
--- /dev/null
+++ b/crates/shirabe-external-packages/src/symfony/console/style/symfony_style.rs
@@ -0,0 +1,96 @@
+use shirabe_php_shim::PhpMixed;
+use crate::symfony::console::output::output_interface::OutputInterface;
+use crate::symfony::console::input::input_interface::InputInterface;
+
+#[derive(Debug)]
+pub struct SymfonyStyle;
+
+impl SymfonyStyle {
+ pub fn new(input: &dyn InputInterface, output: &dyn OutputInterface) -> Self {
+ todo!()
+ }
+
+ pub fn title(&mut self, message: &str) {
+ todo!()
+ }
+
+ pub fn section(&mut self, message: &str) {
+ todo!()
+ }
+
+ pub fn text(&mut self, message: &str) {
+ todo!()
+ }
+
+ pub fn comment(&mut self, message: &str) {
+ todo!()
+ }
+
+ pub fn success(&mut self, message: PhpMixed) {
+ todo!()
+ }
+
+ pub fn error(&mut self, message: PhpMixed) {
+ todo!()
+ }
+
+ pub fn warning(&mut self, message: PhpMixed) {
+ todo!()
+ }
+
+ pub fn note(&mut self, message: PhpMixed) {
+ todo!()
+ }
+
+ pub fn listing(&mut self, elements: &[String]) {
+ todo!()
+ }
+
+ pub fn new_line(&mut self, count: i64) {
+ todo!()
+ }
+
+ pub fn ask(&mut self, question: &str, default: Option<&str>, validator: Option<Box<dyn Fn(Option<PhpMixed>) -> anyhow::Result<PhpMixed>>>) -> PhpMixed {
+ todo!()
+ }
+
+ pub fn ask_hidden(&mut self, question: &str, validator: Option<Box<dyn Fn(Option<PhpMixed>) -> anyhow::Result<PhpMixed>>>) -> PhpMixed {
+ todo!()
+ }
+
+ pub fn confirm(&mut self, question: &str, default: bool) -> bool {
+ todo!()
+ }
+
+ pub fn choice(&mut self, question: &str, choices: Vec<PhpMixed>, default: Option<PhpMixed>) -> PhpMixed {
+ todo!()
+ }
+
+ pub fn table(&mut self, headers: Vec<PhpMixed>, rows: Vec<PhpMixed>) {
+ todo!()
+ }
+
+ pub fn progress_start(&mut self, max: i64) {
+ todo!()
+ }
+
+ pub fn progress_advance(&mut self, step: i64) {
+ todo!()
+ }
+
+ pub fn progress_finish(&mut self) {
+ todo!()
+ }
+
+ pub fn is_debug(&self) -> bool {
+ todo!()
+ }
+
+ pub fn writeln(&mut self, messages: PhpMixed, r#type: i64) {
+ todo!()
+ }
+
+ pub fn write(&mut self, messages: PhpMixed, newline: bool, r#type: i64) {
+ todo!()
+ }
+}