1 | <?php |
||
9 | class MakeFilterCommand extends GeneratorCommand |
||
10 | { |
||
11 | /** |
||
12 | * The name and signature of the console command. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $name = 'make:filter'; |
||
17 | |||
18 | /** |
||
19 | * The name and signature of the console command. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $type = 'filter'; |
||
24 | |||
25 | /** |
||
26 | * The console command description. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $description = 'Create a new query filter class.'; |
||
31 | |||
32 | /** |
||
33 | * Get the console command arguments. |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | protected function getArguments() |
||
43 | |||
44 | /** |
||
45 | * Get the desired class name from the input. |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | protected function getNameInput() |
||
53 | |||
54 | protected function getStub() |
||
58 | |||
59 | protected function getDefaultNamespace($rootNamespace) |
||
63 | |||
64 | /** |
||
65 | * Execute the console command. |
||
66 | */ |
||
67 | public function handle() |
||
73 | |||
74 | protected function doOtherOperations() |
||
93 | |||
94 | protected function rootNamespace() |
||
98 | |||
99 | protected function getPath($name) |
||
103 | } |
||
104 |