| Total Complexity | 2 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | class MakeActionCommand extends GeneratorCommand |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The console command name. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $name = 'make:action'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The console command description. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = 'Create a new action'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The type of class being generated. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $type = 'Action'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get the stub file for the generator. |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | protected function getStub() |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the default namespace for the class. |
||
| 45 | * |
||
| 46 | * @param string $rootNamespace |
||
| 47 | * |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | protected function getDefaultNamespace($rootNamespace) |
||
| 55 |