blob: 7a460043048600b98b081ea1d3c9fc92b51a8437 (
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
|
use shirabe_php_shim::PhpMixed;
#[derive(Debug)]
pub struct InputDefinition;
impl InputDefinition {
pub fn new(definition: Vec<PhpMixed>) -> Self {
todo!()
}
pub fn add_argument(&mut self, argument: PhpMixed) {
todo!()
}
pub fn add_option(&mut self, option: PhpMixed) {
todo!()
}
pub fn has_option(&self, name: &str) -> bool {
todo!()
}
pub fn get_option(&self, name: &str) -> anyhow::Result<PhpMixed> {
todo!()
}
pub fn has_argument(&self, name: &str) -> bool {
todo!()
}
}
|