🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@yceruto
Copy link
Member

@yceruto yceruto commented Dec 17, 2025

Q A
Branch? 8.1
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #62470
License MIT

Adds a bundle-level compiler pass to hook into the container compilation phase:

class MyBundle extends AbstractBundle implements CompilerPassInterface
{
    public function process(ContainerBuilder $container): void
    {
        // ...
    }
}

@yceruto yceruto force-pushed the bundle_as_compiler_pass branch from b9dc01a to b029905 Compare December 17, 2025 11:27
@nicolas-grekas
Copy link
Member

Thank you @yceruto.

@nicolas-grekas nicolas-grekas merged commit 7862a33 into symfony:8.1 Dec 19, 2025
10 of 11 checks passed
@yceruto yceruto deleted the bundle_as_compiler_pass branch December 19, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants