final |
|---|
Marks an extension interface and associates it with its service tag.
Services registered with #[AutowiredService] that implement the interface get the tag automatically. ValidateServiceTagsExtension checks that manually tagged services implement the associated interface.
Third-party interfaces get the attribute in a directory from the attributeServicesDirectories section, or are listed in the extensionInterfaces section of the configuration file instead.
Works thanks to https://github.com/ondrejmirtes/composer-attribute-collector and AutowiredAttributeServicesExtension.
| Methods | ||
|---|---|---|
public
|
__construct(string $tag)
|
# |