Skip to content

[Container] add a note about _instanceof in the service tags doc #9089

Closed
@alsciende

Description

@alsciende

_instanceof is often used to add a tag to all services implementing an interface, as documented at https://symfony.com/blog/new-in-symfony-3-3-simpler-service-configuration.

In consequence, it would be very useful to add a note about that option in the documentation about autoconfiguring service tags at https://symfony.com/doc/current/service_container/tags.html#autoconfiguring-tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependencyInjectionhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions