diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-08 02:23:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-08 02:23:31 +0900 |
| commit | 06368584a9277022d9cfc42d22c37f4cc6e580f8 (patch) | |
| tree | a210e77273316ce94530391ea4e6dc4ee60b42ea /crates/shirabe-external-packages/src/symfony/console/application.rs | |
| parent | 318ea948f5932dfa7942081a269d62fd7161a9bf (diff) | |
| download | php-shirabe-06368584a9277022d9cfc42d22c37f4cc6e580f8.tar.gz php-shirabe-06368584a9277022d9cfc42d22c37f4cc6e580f8.tar.zst php-shirabe-06368584a9277022d9cfc42d22c37f4cc6e580f8.zip | |
refactor(external-packages): drop component segment from symfony paths
Align the Symfony namespace mapping with the documented convention
(symfony::component::X -> symfony::X) and remove now-unused console
stub files. Update all import paths across the workspace.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/application.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/symfony/console/application.rs | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/application.rs b/crates/shirabe-external-packages/src/symfony/console/application.rs new file mode 100644 index 0000000..f937473 --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/console/application.rs @@ -0,0 +1,108 @@ +use crate::symfony::console::input::InputInterface; +use crate::symfony::console::output::OutputInterface; +use shirabe_php_shim::PhpMixed; + +#[derive(Debug)] +pub struct Application; + +impl Application { + pub fn new(_name: &str, _version: &str) -> Self { + todo!() + } + + pub fn run( + &mut self, + _input: Option<std::rc::Rc<std::cell::RefCell<dyn InputInterface>>>, + _output: Option<std::rc::Rc<std::cell::RefCell<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!() + } + + pub fn render_throwable( + &self, + _exception: &anyhow::Error, + _output: std::rc::Rc<std::cell::RefCell<dyn OutputInterface>>, + ) { + todo!() + } + + pub fn set_catch_errors(&mut self, _catch_errors: bool) { + todo!() + } + + pub fn has(&self, _name: &str) -> bool { + todo!() + } +} |
