You are here

public function RepeatedPass::process in Zircon Profile 8

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

Process the repeatable passes that run more than once.

Parameters

ContainerBuilder $container:

Overrides CompilerPassInterface::process

File

vendor/symfony/dependency-injection/Compiler/RepeatedPass.php, line 59

Class

RepeatedPass
A pass that might be run repeatedly.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function process(ContainerBuilder $container) {
  $this->repeat = false;
  foreach ($this->passes as $pass) {
    $pass
      ->process($container);
  }
  if ($this->repeat) {
    $this
      ->process($container);
  }
}