| 1 | <?php |
||
| 12 | class SEO_FacebookDomainInsights_SiteTree_DataExtension extends DataExtension |
||
|
|
|||
| 13 | { |
||
| 14 | |||
| 15 | |||
| 16 | /* Overload Model |
||
| 17 | ------------------------------------------------------------------------------*/ |
||
| 18 | |||
| 19 | // none |
||
| 20 | |||
| 21 | |||
| 22 | /* Overload Methods |
||
| 23 | ------------------------------------------------------------------------------*/ |
||
| 24 | |||
| 25 | // none |
||
| 26 | |||
| 27 | |||
| 28 | /* Template Methods |
||
| 29 | ------------------------------------------------------------------------------*/ |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param SiteConfig $config |
||
| 33 | * @param SiteTree $owner |
||
| 34 | * @param string $metadata |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | * |
||
| 38 | */ |
||
| 39 | public function updateMetadata(SiteConfig $config, SiteTree $owner, &$metadata) |
||
| 58 | |||
| 59 | } |
||
| 60 |
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.