File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/Symfony/Component/HttpKernel Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -700,7 +700,6 @@ protected function prepareContainer(ContainerBuilder $container)
700
700
foreach ($ this ->bundles as $ bundle ) {
701
701
if ($ extension = $ bundle ->getContainerExtension ()) {
702
702
$ container ->registerExtension ($ extension );
703
- $ extensions [] = $ extension ->getAlias ();
704
703
}
705
704
706
705
if ($ this ->debug ) {
@@ -714,6 +713,10 @@ protected function prepareContainer(ContainerBuilder $container)
714
713
715
714
$ this ->build ($ container );
716
715
716
+ foreach ($ container ->getExtensions () as $ extension ) {
717
+ $ extensions [] = $ extension ->getAlias ();
718
+ }
719
+
717
720
// ensure these extensions are implicitly loaded
718
721
$ container ->getCompilerPassConfig ()->setMergePass (new MergeExtensionConfigurationPass ($ extensions ));
719
722
}
You can’t perform that action at this time.
0 commit comments