aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/input/input_argument.rs
blob: 1f70581f7e976bf7ab8612ff4a58a6090d280c39 (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 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!()
    }
}