aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/console/single_command_application.rs
blob: cce75db915c7275b6f11dc1bcf1d053839f061ae (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
use shirabe_php_shim::PhpMixed;

#[derive(Debug)]
pub struct SingleCommandApplication;

impl SingleCommandApplication {
    pub fn new() -> Self {
        todo!()
    }

    pub fn set_name(&mut self, name: &str) -> &mut Self {
        todo!()
    }

    pub fn set_version(&mut self, version: &str) -> &mut Self {
        todo!()
    }

    pub fn set_code(
        &mut self,
        code: Box<dyn Fn(&dyn std::any::Any, &dyn std::any::Any) -> i64>,
    ) -> &mut Self {
        todo!()
    }

    pub fn run(&mut self) -> anyhow::Result<i64> {
        todo!()
    }
}