Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17eb8ff commit a6a19c5Copy full SHA for a6a19c5
app/AppKernel.php
@@ -1,5 +1,6 @@
1
<?php
2
3
+use Symfony\Component\DependencyInjection\ContainerBuilder;
4
use Symfony\Component\HttpKernel\Kernel;
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
@@ -49,6 +50,12 @@ public function getLogDir()
49
50
51
public function registerContainerConfiguration(LoaderInterface $loader)
52
{
53
+ $loader->load(function (ContainerBuilder $container) {
54
+ $container->setParameter('container.autowiring.strict_mode', true);
55
+ $container->setParameter('container.dumper.inline_class_loader', true);
56
+
57
+ $container->addObjectResource($this);
58
+ });
59
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
60
}
61
0 commit comments