aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/application.rs
blob: a939beedb87c96585350860dc84ab2e7c113754c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
use crate::symfony::console::input::InputDefinition;
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!()
    }

    pub fn do_run(
        &mut self,
        _input: std::rc::Rc<std::cell::RefCell<dyn InputInterface>>,
        _output: std::rc::Rc<std::cell::RefCell<dyn OutputInterface>>,
    ) -> anyhow::Result<i64> {
        todo!()
    }

    pub fn get_help(&self) -> String {
        todo!()
    }

    pub fn are_exceptions_caught(&self) -> bool {
        todo!()
    }

    pub fn get_default_input_definition(&self) -> InputDefinition {
        todo!()
    }

    pub fn get_default_commands(&self) -> Vec<PhpMixed> {
        todo!()
    }
}