Skip to content

[DoctrineBridge] Deprecate passing Doctrine subscribers to ContainerAwareEventManager #49586

Closed
@nicolas-grekas

Description

@nicolas-grekas

As spotted in #49387 (comment), Doctrine\Common\EventSubscriber should be banned from the bridge because it forces instantiating the event listeners (and their deps) even if they are never called.

#[AsDoctrineListener] is a way better alternative anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DoctrineBridgeHelp wantedIssues and PRs which are looking for volunteers to complete them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions