1 | <?php |
||
11 | class MakeTacticianHandlerCommand extends GeneratorCommand |
||
12 | { |
||
13 | /** |
||
14 | * The console command name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'make:tactician:handler'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Create a new Tactician Command Handler'; |
||
26 | |||
27 | /** |
||
28 | * Get the stub file for the generator. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | 5 | protected function getStub() |
|
36 | |||
37 | /** |
||
38 | * Get the default namespace for the class. |
||
39 | * |
||
40 | * @param string $rootNamespace |
||
41 | * @return string |
||
42 | */ |
||
43 | 5 | protected function getDefaultNamespace($rootNamespace) |
|
47 | |||
48 | /** |
||
49 | * Get the destination class path. |
||
50 | * |
||
51 | * @param string $name |
||
52 | * @return string |
||
53 | */ |
||
54 | 5 | protected function getPath($name) |
|
58 | } |
||
59 |