1 | <?php |
||
4 | abstract class AbstractListCommand extends SilverstripeCommand |
||
|
|||
5 | { |
||
6 | public function fire() |
||
10 | |||
11 | abstract function getClassName(); |
||
12 | |||
13 | /** |
||
14 | * @return array |
||
15 | */ |
||
16 | protected function getTableData() |
||
35 | |||
36 | |||
37 | /** |
||
38 | * @return array |
||
39 | */ |
||
40 | protected function getTableHeaders() |
||
44 | |||
45 | /** |
||
46 | * @param $className |
||
47 | * @return array |
||
48 | */ |
||
49 | protected function getExtensions($className) |
||
53 | |||
54 | /** |
||
55 | * @param string $className |
||
56 | * @return string |
||
57 | */ |
||
58 | protected function getModule($className) |
||
68 | |||
69 | /** |
||
70 | * @param string $className |
||
71 | * @return array |
||
72 | */ |
||
73 | protected function getParentClasses($className) |
||
77 | } |
||
78 |
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.