public function Compiler::compile

Run the Compiler and process all Passes.

@api

Parameters

ContainerBuilder $container:

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/Compiler.php, line 116

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);
  }
}