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.
2 parents bc7ddc2 + 998b214 commit 7ed4104Copy full SHA for 7ed4104
symfony/framework-bundle/4.2/src/Kernel.php
@@ -33,7 +33,8 @@ public function getProjectDir(): string
33
protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void
34
{
35
$container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));
36
- $container->setParameter('container.dumper.inline_class_loader', true);
+ $container->setParameter('container.dumper.inline_class_loader', \PHP_VERSION_ID < 70400 || !ini_get('opcache.preload'));
37
+ $container->setParameter('container.dumper.inline_factories', true);
38
$confDir = $this->getProjectDir().'/config';
39
40
$loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');
0 commit comments