1 | <?php |
||
11 | class ValidatorCommand extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The name of command. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'starter:validator'; |
||
19 | |||
20 | /** |
||
21 | * The description of command. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Create a new validator.'; |
||
26 | |||
27 | /** |
||
28 | * The type of class being generated. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $type = 'Validator'; |
||
33 | |||
34 | /** |
||
35 | * Execute the command. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | public function fire() |
||
54 | |||
55 | /** |
||
56 | * The array of command arguments. |
||
57 | * |
||
58 | * @return array |
||
59 | */ |
||
60 | public function getArguments() |
||
71 | |||
72 | /** |
||
73 | * The array of command options. |
||
74 | * |
||
75 | * @return array |
||
76 | */ |
||
77 | public function getOptions() |
||
96 | } |
||
97 |