aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 02:25:52 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 02:25:52 +0900
commit7f606f36fef0c0467c3c0db3d0da33af486dae8a (patch)
treec3f0a3340e1dbfc5245964a775b73030d5abf44e /crates/shirabe-external-packages/src/symfony/component/console/command/command.rs
parent9389ddbf06f6d38445c277640cab7b2270057790 (diff)
downloadphp-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.gz
php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.zst
php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.zip
feat(port): add stub implementations of shirabe-external-packages
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/component/console/command/command.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/component/console/command/command.rs81
1 files changed, 81 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs b/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs
new file mode 100644
index 0000000..cf18378
--- /dev/null
+++ b/crates/shirabe-external-packages/src/symfony/component/console/command/command.rs
@@ -0,0 +1,81 @@
+use shirabe_php_shim::PhpMixed;
+use crate::symfony::component::console::input::input_interface::InputInterface;
+use crate::symfony::component::console::output::output_interface::OutputInterface;
+use crate::symfony::component::console::input::input_definition::InputDefinition;
+
+#[derive(Debug)]
+pub struct Command;
+
+impl Command {
+ pub fn new(name: Option<&str>) -> Self {
+ todo!()
+ }
+
+ pub fn set_name(&mut self, name: &str) -> &mut Self {
+ todo!()
+ }
+
+ pub fn get_name(&self) -> Option<String> {
+ todo!()
+ }
+
+ pub fn set_description(&mut self, description: &str) -> &mut Self {
+ todo!()
+ }
+
+ pub fn get_description(&self) -> String {
+ todo!()
+ }
+
+ pub fn set_help(&mut self, help: &str) -> &mut Self {
+ todo!()
+ }
+
+ pub fn set_definition(&mut self, definition: PhpMixed) -> &mut Self {
+ todo!()
+ }
+
+ pub fn get_definition(&self) -> &InputDefinition {
+ todo!()
+ }
+
+ pub fn add_argument(&mut self, name: &str, mode: Option<i64>, description: &str, default: PhpMixed) -> &mut Self {
+ todo!()
+ }
+
+ pub fn add_option(&mut self, name: &str, shortcut: Option<&str>, mode: Option<i64>, description: &str, default: PhpMixed) -> &mut Self {
+ todo!()
+ }
+
+ pub fn set_aliases(&mut self, aliases: &[String]) -> &mut Self {
+ todo!()
+ }
+
+ pub fn get_aliases(&self) -> Vec<String> {
+ todo!()
+ }
+
+ pub fn set_hidden(&mut self, hidden: bool) -> &mut Self {
+ todo!()
+ }
+
+ pub fn is_hidden(&self) -> bool {
+ todo!()
+ }
+
+ pub fn run(
+ &mut self,
+ input: &mut dyn InputInterface,
+ output: &mut dyn OutputInterface,
+ ) -> anyhow::Result<i64> {
+ todo!()
+ }
+
+ pub fn get_helper(&self, name: &str) -> PhpMixed {
+ todo!()
+ }
+
+ pub fn get_helper_set(&self) -> PhpMixed {
+ todo!()
+ }
+}