Skip to content

Add "when" argument to #[AsAlias] #60118

Closed
@nicolas-grekas

Description

@nicolas-grekas

Description

Proposal made during the workshop at SymfonyLive Berlin:

#[AsAlias(SomeInterface::class, when: 'prod')

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions