Revert to container.dumper.inline_factories=false by default
This commit is contained in:
parent
402909ff7b
commit
2b6f1e9a93
@ -142,10 +142,6 @@ trait MicroKernelTrait
|
|||||||
}
|
}
|
||||||
|
|
||||||
$container->setAlias(static::class, 'kernel')->setPublic(true);
|
$container->setAlias(static::class, 'kernel')->setPublic(true);
|
||||||
|
|
||||||
if (!$container->hasParameter('container.dumper.inline_factories')) {
|
|
||||||
$container->setParameter('container.dumper.inline_factories', false);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ class PhpDumper extends Dumper
|
|||||||
$this->asFiles = $options['as_files'];
|
$this->asFiles = $options['as_files'];
|
||||||
$this->hotPathTag = $options['hot_path_tag'];
|
$this->hotPathTag = $options['hot_path_tag'];
|
||||||
$this->preloadTags = $options['preload_tags'];
|
$this->preloadTags = $options['preload_tags'];
|
||||||
$this->inlineFactories = $this->asFiles && $options['inline_factories_parameter'] && (!$this->container->hasParameter($options['inline_factories_parameter']) || $this->container->getParameter($options['inline_factories_parameter']));
|
$this->inlineFactories = $this->asFiles && $options['inline_factories_parameter'] && $this->container->hasParameter($options['inline_factories_parameter']) && $this->container->getParameter($options['inline_factories_parameter']);
|
||||||
$this->inlineRequires = $options['inline_class_loader_parameter'] && ($this->container->hasParameter($options['inline_class_loader_parameter']) ? $this->container->getParameter($options['inline_class_loader_parameter']) : (\PHP_VERSION_ID < 70400 || $options['debug']));
|
$this->inlineRequires = $options['inline_class_loader_parameter'] && ($this->container->hasParameter($options['inline_class_loader_parameter']) ? $this->container->getParameter($options['inline_class_loader_parameter']) : (\PHP_VERSION_ID < 70400 || $options['debug']));
|
||||||
$this->serviceLocatorTag = $options['service_locator_tag'];
|
$this->serviceLocatorTag = $options['service_locator_tag'];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user