public function RepeatedPass::process in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Compiler/ RepeatedPass.php, line 59
Class
- RepeatedPass
- A pass that might be run repeatedly.
Namespace
Symfony\Component\DependencyInjection\CompilerCode
public function process(ContainerBuilder $container) {
$this->repeat = false;
foreach ($this->passes as $pass) {
$pass
->process($container);
}
if ($this->repeat) {
$this
->process($container);
}
}