public function MergeExtensionConfigurationPass::process in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php \Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass::process()
- 8.0 vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php \Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass::process()
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php \Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass::process()
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder $container:
Overrides MergeExtensionConfigurationPass::process
File
- vendor/
symfony/ http-kernel/ DependencyInjection/ MergeExtensionConfigurationPass.php, line 31
Class
- MergeExtensionConfigurationPass
- Ensures certain extensions are always loaded.
Namespace
Symfony\Component\HttpKernel\DependencyInjectionCode
public function process(ContainerBuilder $container) {
foreach ($this->extensions as $extension) {
if (!count($container
->getExtensionConfig($extension))) {
$container
->loadFromExtension($extension, array());
}
}
parent::process($container);
}