| 1 | <?php |
||
| 5 | class DMSTaxonomyTypeExtension extends DataExtension |
||
|
|
|||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Create default taxonomy type records. Add records via YAML configuration (see taxonomy.yml): |
||
| 9 | * |
||
| 10 | * <code> |
||
| 11 | * DMSTaxonomyTypeExtension: |
||
| 12 | * default_records: |
||
| 13 | * - Document |
||
| 14 | * - PrivateDocument |
||
| 15 | * </code> |
||
| 16 | */ |
||
| 17 | public function requireDefaultRecords() |
||
| 28 | } |
||
| 29 |
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.