blob: 84b722d94071a425677c6d650195ecba94945151 (
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
|
use shirabe_php_shim::PhpMixed;
#[derive(Debug)]
pub struct InputArgument;
impl InputArgument {
pub const REQUIRED: i64 = 1;
pub const OPTIONAL: i64 = 2;
pub const IS_ARRAY: i64 = 4;
pub fn new(
_name: &str,
_mode: Option<i64>,
_description: &str,
_default: Option<PhpMixed>,
) -> Self {
todo!()
}
pub fn get_name(&self) -> String {
todo!()
}
pub fn is_required(&self) -> bool {
todo!()
}
pub fn is_array(&self) -> bool {
todo!()
}
pub fn get_default(&self) -> Option<PhpMixed> {
todo!()
}
}
|