| 1 | <?php |
||
| 6 | class ElementalArea extends WidgetArea |
||
|
|
|||
| 7 | { |
||
| 8 | public function Elements() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return HasManyList |
||
| 35 | */ |
||
| 36 | public function ItemsToRender() { |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Return an ArrayList of pages with the Element Page Extension |
||
| 42 | * |
||
| 43 | * @return ArrayList |
||
| 44 | */ |
||
| 45 | public function getOwnerPage() |
||
| 70 | } |
||
| 71 |
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.