Skip to content

[doctrine-bridge] Allow using param as connection name in tags #40260

@wbloszyk

Description

@wbloszyk

Description
Working on add configurable connection for EntityAuditBundle we got some error like:

The Doctrine connection "%simplethings.entityaudit.connection%" referenced   
!!    in service "simplethings_entityaudit.log_revisions_listener" does not exist  
!!    . Available connections names: "default".   

Will be nice to make doctrine tag connection attribute configurable by param.
Example

<tag name="doctrine.event_subscriber" connecion="%simplethings.entityaudit.connection%"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions