mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Tell user that container.autowiring.strict_mode can be deleted with Symfony 4.0+
This commit is contained in:
@@ -36,6 +36,8 @@ class Kernel extends BaseKernel
|
||||
|
||||
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
|
||||
{
|
||||
// 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);
|
||||
$container->setParameter('container.dumper.inline_class_loader', true);
|
||||
$confDir = $this->getProjectDir().'/config';
|
||||
|
||||
Reference in New Issue
Block a user