| 1 | <?php |
||
| 5 | class BaseElementExtension extends VersionedDataObject |
||
|
|
|||
| 6 | { |
||
| 7 | /** |
||
| 8 | * {@inheritDoc} |
||
| 9 | */ |
||
| 10 | public function canView($member = null) |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | public function canEdit($member = null) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritDoc} |
||
| 25 | */ |
||
| 26 | public function canDelete($member = null) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritDoc} |
||
| 33 | */ |
||
| 34 | public function canCreate($member = null) |
||
| 38 | } |
||
| 39 |
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.