| 1 | <?php |
||
| 8 | class ObserverMakeCommand extends GeneratorCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The console command name. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $name = 'make:observer'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The console command description. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $description = 'Create a new access observer class(Sco-Admin)'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The type of class being generated. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $type = 'Observer'; |
||
| 30 | |||
| 31 | protected function getStub() |
||
| 35 | |||
| 36 | protected function getDefaultNamespace($rootNamespace) |
||
| 40 | |||
| 41 | protected function getComponentNamespace() |
||
| 52 | } |
||
| 53 |