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