10000 Comment on compiler pass priority · symfony/symfony@394deb5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 394deb5

Browse files
committed
Comment on compiler pass priority
1 parent 1f9daf8 commit 394deb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/SecurityBundle/SecurityBundle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public function build(ContainerBuilder $container)
7979
$container->addCompilerPass(new RegisterLdapLocatorPass());
8080
// must be registered after RegisterListenersPass (in the FrameworkBundle)
8181
$container->addCompilerPass(new RegisterGlobalSecurityEventListenersPass(), PassConfig::TYPE_BEFORE_REMOVING, -200);
82+
// execute after ResolveChildDefinitionsPass optimization pass, to ensure class names are set
8283
$container->addCompilerPass(new SortFirewallListenersPass(), PassConfig::TYPE_BEFORE_REMOVING);
8384

8485
$container->addCompilerPass(new AddEventAliasesPass([

0 commit comments

Comments
 (0)
0