aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/console/application.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/application.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/application.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/component/console/application.rs88
1 files changed, 88 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/component/console/application.rs b/crates/shirabe-external-packages/src/symfony/component/console/application.rs
new file mode 100644
index 0000000..760e609
--- /dev/null
+++ b/crates/shirabe-external-packages/src/symfony/component/console/application.rs
@@ -0,0 +1,88 @@
+use shirabe_php_shim::PhpMixed;
+use crate::symfony::component::console::input::input_interface::InputInterface;
+use crate::symfony::component::console::output::output_interface::OutputInterface;
+
+#[derive(Debug)]
+pub struct Application;
+
+impl Application {
+ pub fn new(name: &str, version: &str) -> Self {
+ todo!()
+ }
+
+ pub fn run(
+ &mut self,
+ input: Option<&mut dyn InputInterface>,
+ output: Option<&mut dyn OutputInterface>,
+ ) -> anyhow::Result<i64> {
+ todo!()
+ }
+
+ pub fn set_name(&mut self, name: &str) {
+ todo!()
+ }
+
+ pub fn get_name(&self) -> String {
+ todo!()
+ }
+
+ pub fn set_version(&mut self, version: &str) {
+ todo!()
+ }
+
+ pub fn get_version(&self) -> String {
+ todo!()
+ }
+
+ pub fn add(&mut self, command: PhpMixed) -> Option<PhpMixed> {
+ todo!()
+ }
+
+ pub fn get(&self, name: &str) -> anyhow::Result<PhpMixed> {
+ todo!()
+ }
+
+ pub fn set_auto_exit(&mut self, auto_exit: bool) {
+ todo!()
+ }
+
+ pub fn set_catch_exceptions(&mut self, catch_exceptions: bool) {
+ todo!()
+ }
+
+ pub fn get_helper_set(&self) -> PhpMixed {
+ todo!()
+ }
+
+ pub fn set_helper_set(&mut self, helper_set: PhpMixed) {
+ todo!()
+ }
+
+ pub fn get_definition(&self) -> PhpMixed {
+ todo!()
+ }
+
+ pub fn get_long_version(&self) -> String {
+ todo!()
+ }
+
+ pub fn find(&self, name: &str) -> anyhow::Result<PhpMixed> {
+ todo!()
+ }
+
+ pub fn all(&self, namespace: Option<&str>) -> Vec<PhpMixed> {
+ todo!()
+ }
+
+ pub fn get_namespaces(&self) -> Vec<String> {
+ todo!()
+ }
+
+ pub fn set_default_command(&mut self, command_name: &str, is_single_command: bool) -> &mut Self {
+ todo!()
+ }
+
+ pub fn is_single_command(&self) -> bool {
+ todo!()
+ }
+}