blob: 9642aa038ad8f702cde46c75d9f346136f5ffc3a (
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
|
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!()
}
}
|