1 | <?php |
||
4 | class PublishSuperSakeCommmand extends SilverstripeCommand |
||
|
|||
5 | { |
||
6 | /** |
||
7 | * @var string |
||
8 | */ |
||
9 | protected $name = 'console:publish'; |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $description = 'Copy the supersake to your webroot'; |
||
15 | |||
16 | public function fire() |
||
20 | |||
21 | protected function writeSuperSakeFileToWebRoot() |
||
33 | } |
||
34 |
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.