Configuration
Configure the extend of a class
Since version 10.0.0 the registration of class extends needs to be configured in services.yaml like in this example.
Services.yaml
services:
Fixture\ExtendingExtension\Domain\Model\BlobExtend:
tags:
-
name: 'extender.extends'
class: Fixture\BaseExtension\Domain\Model\Blob
Copied!
- FixtureBaseExtensionDomainModelBlob is the class that should be extended
- FixtureExtendingExtensionDomainModelBlobExtend is the class that extends