| 1 | <?php |
||
| 6 | class MakePageCommand extends AbstractMakeCommand |
||
|
|
|||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | protected $name = 'make:page'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $description = 'Create a new Page/Controller class pair and optional Layout template'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return array |
||
| 20 | */ |
||
| 21 | protected function getOptions() |
||
| 27 | } |
||
| 28 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.