public function ContainerBuilder::getCompiler in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::getCompiler()
Returns the compiler.
@api
Return value
Compiler The compiler
1 call to ContainerBuilder::getCompiler()
- ContainerBuilder::compile in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php - Compiles the container.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ContainerBuilder.php, line 346
Class
- ContainerBuilder
- ContainerBuilder is a DI container that provides an API to easily describe services.
Namespace
Symfony\Component\DependencyInjectionCode
public function getCompiler() {
if (null === $this->compiler) {
$this->compiler = new Compiler();
}
return $this->compiler;
}