diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 02:53:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 02:53:53 +0900 |
| commit | a1c7e6908a26e10f6e1f23a51721664b5e2d838d (patch) | |
| tree | c575c76f1b43359ed74913da4c6a2636643f1ba0 /crates/shirabe-external-packages/src/symfony/console/input/array_input.rs | |
| parent | 7f606f36fef0c0467c3c0db3d0da33af486dae8a (diff) | |
| download | php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.tar.gz php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.tar.zst php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.zip | |
chore(style): cargo fmt
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/input/array_input.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/symfony/console/input/array_input.rs | 65 |
1 files changed, 49 insertions, 16 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/input/array_input.rs b/crates/shirabe-external-packages/src/symfony/console/input/array_input.rs index 1eb3883..68c589e 100644 --- a/crates/shirabe-external-packages/src/symfony/console/input/array_input.rs +++ b/crates/shirabe-external-packages/src/symfony/console/input/array_input.rs @@ -1,6 +1,6 @@ -use shirabe_php_shim::PhpMixed; -use indexmap::IndexMap; use crate::symfony::console::input::input_interface::InputInterface; +use indexmap::IndexMap; +use shirabe_php_shim::PhpMixed; #[derive(Debug)] pub struct ArrayInput; @@ -12,18 +12,51 @@ impl ArrayInput { } impl InputInterface for ArrayInput { - fn get_first_argument(&self) -> Option<String> { todo!() } - fn has_parameter_option(&self, _values: &[&str], _only_params: bool) -> bool { todo!() } - fn get_parameter_option(&self, _values: &[&str], _default: PhpMixed, _only_params: bool) -> PhpMixed { todo!() } - fn validate(&self) -> anyhow::Result<()> { todo!() } - fn get_arguments(&self) -> IndexMap<String, PhpMixed> { todo!() } - fn get_argument(&self, _name: &str) -> PhpMixed { todo!() } - fn set_argument(&mut self, _name: &str, _value: PhpMixed) -> anyhow::Result<()> { todo!() } - fn has_argument(&self, _name: &str) -> bool { todo!() } - fn get_options(&self) -> IndexMap<String, PhpMixed> { todo!() } - fn get_option(&self, _name: &str) -> PhpMixed { todo!() } - fn set_option(&mut self, _name: &str, _value: PhpMixed) -> anyhow::Result<()> { todo!() } - fn has_option(&self, _name: &str) -> bool { todo!() } - fn is_interactive(&self) -> bool { todo!() } - fn set_interactive(&mut self, _interactive: bool) { todo!() } + fn get_first_argument(&self) -> Option<String> { + todo!() + } + fn has_parameter_option(&self, _values: &[&str], _only_params: bool) -> bool { + todo!() + } + fn get_parameter_option( + &self, + _values: &[&str], + _default: PhpMixed, + _only_params: bool, + ) -> PhpMixed { + todo!() + } + fn validate(&self) -> anyhow::Result<()> { + todo!() + } + fn get_arguments(&self) -> IndexMap<String, PhpMixed> { + todo!() + } + fn get_argument(&self, _name: &str) -> PhpMixed { + todo!() + } + fn set_argument(&mut self, _name: &str, _value: PhpMixed) -> anyhow::Result<()> { + todo!() + } + fn has_argument(&self, _name: &str) -> bool { + todo!() + } + fn get_options(&self) -> IndexMap<String, PhpMixed> { + todo!() + } + fn get_option(&self, _name: &str) -> PhpMixed { + todo!() + } + fn set_option(&mut self, _name: &str, _value: PhpMixed) -> anyhow::Result<()> { + todo!() + } + fn has_option(&self, _name: &str) -> bool { + todo!() + } + fn is_interactive(&self) -> bool { + todo!() + } + fn set_interactive(&mut self, _interactive: bool) { + todo!() + } } |
