public function ContainerBuilder::getCompiler in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/ContainerBuilder.php \Symfony\Component\DependencyInjection\ContainerBuilder::getCompiler()
Returns the compiler.
Return value
Compiler The compiler
1 call to ContainerBuilder::getCompiler()
- ContainerBuilder::compile in vendor/
symfony/ dependency-injection/ ContainerBuilder.php - Compiles the container.
File
- vendor/
symfony/ dependency-injection/ ContainerBuilder.php, line 320
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;
}