Skip to content

[HttpKernel] [DI] AbstractBundle as CompilerPassInterface are not automatically registered #62470

@alex-dev

Description

@alex-dev

Symfony version(s) affected

>= 6.4

Description

According to documentation, a bundle implementing a CompilerPassInterface should be registered by the framework.
It is not.

How to reproduce

Add a bundle implemented like the following to a skeleton app.

class Bundle extends AbstractBundle implements CompilerPassInterface {
  public function process(ContainerBuilder $container): void { dump(__METHOD__); }
}

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