Add container tracking to bundles.php so the container rebuilds when it

changes
This commit is contained in:
Ryan Weaver
2018-03-13 13:59:33 -04:00
parent 6a6b3f98a1
commit e6907306bc
@@ -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);