| 1 | <?php |
||
| 7 | class ActionMakeCommand extends GeneratorCommand |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * The console command name. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $name = 'make:action'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The console command description. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $description = 'Create a new action class'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The type of class being generated. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $type = 'Action'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the stub file for the generator. |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | protected function getStub() |
||
| 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) |
||
| 54 | } |
||
| 55 |