From e6907306bcd070f630f82f2d399b3d75ceb34a49 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 13 Mar 2018 13:59:33 -0400 Subject: [PATCH] Add container tracking to bundles.php so the container rebuilds when it changes --- symfony/framework-bundle/3.3/src/Kernel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/symfony/framework-bundle/3.3/src/Kernel.php b/symfony/framework-bundle/3.3/src/Kernel.php index c9420adf..1a328719 100644 --- a/symfony/framework-bundle/3.3/src/Kernel.php +++ b/symfony/framework-bundle/3.3/src/Kernel.php @@ -36,6 +36,7 @@ class Kernel extends BaseKernel protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader) { + $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php')); // Feel free to remove the "container.autowiring.strict_mode" parameter // if you are using symfony/dependency-injection 4.0+ as it's the default behavior $container->setParameter('container.autowiring.strict_mode', true);