Skip to content

Automatically inject the menus into the container #466

Open
@tacman

Description

@tacman

The only reason that builder class is marked as the easy way is because of needing to manually wire the menu as a service in services.yaml. This step could be eliminated by adding an attribute (as @stof mentions in #464 ) and automatically wire and configure the service during the bundle configuration.

I'd be able to help with something like this if we simplified the bundle setup that was introduced in Symfony 6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions