Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DI] Xml definitions: support setting the injected id as node value #22525

Closed
@nicolas-grekas

Description

@nicolas-grekas
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes
Symfony version 3.4

So that one could use <argument type="service">logger</argument>, when only <argument type="service" id="logger" /> is supported right now. I made the mistake so many times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependencyInjectionFeatureRFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions