You are here

public function Compiler::compile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Compiler/Compiler.php \Symfony\Component\DependencyInjection\Compiler\Compiler::compile()

Run the Compiler and process all Passes.

Parameters

ContainerBuilder $container:

File

vendor/symfony/dependency-injection/Compiler/Compiler.php, line 104

Class

Compiler
This class is used to remove circular dependencies between individual passes.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function compile(ContainerBuilder $container) {
  foreach ($this->passConfig
    ->getPasses() as $pass) {
    $pass
      ->process($container);
  }
}