public function Compiler::compile in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/Compiler.php \Symfony\Component\DependencyInjection\Compiler\Compiler::compile()
Run the Compiler and process all Passes.
@api
Parameters
ContainerBuilder $container:
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Compiler/ Compiler.php, line 114
Class
- Compiler
- This class is used to remove circular dependencies between individual passes.
Namespace
Symfony\Component\DependencyInjection\CompilerCode
public function compile(ContainerBuilder $container) {
foreach ($this->passConfig
->getPasses() as $pass) {
$pass
->process($container);
}
}