Skip to content

[FrameworkBundle] AddExpressionLanguageProvidersPass #12847

@maarekj

Description

@maarekj

Hi,
In the class AddExpressionLanguageProvidersPass, this code return always false:

$container->hasDefinition("router")

Meaning that the tag routing.expression_language_provider is never treated.

If I replace that code with this code it works:

 $container->has("router")

In fact "router" is alias not a definition.

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