| 1 | <?php |
||
| 3 | abstract class UpdateComposer extends Object |
||
|
|
|||
| 4 | { |
||
| 5 | protected $composerJsonObj = null; |
||
| 6 | |||
| 7 | public function __construct($composerJsonObj) |
||
| 14 | |||
| 15 | abstract public function run(); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | protected function getJsonData() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param array $array [description] |
||
| 27 | */ |
||
| 28 | protected function setJsonData(array $array) |
||
| 32 | |||
| 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.