public function CheckExceptionOnInvalidReferenceBehaviorPass::process in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php \Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass::process()
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder $container:
Overrides CompilerPassInterface::process
File
- vendor/
symfony/ dependency-injection/ Compiler/ CheckExceptionOnInvalidReferenceBehaviorPass.php, line 30
Class
- CheckExceptionOnInvalidReferenceBehaviorPass
- Checks that all references are pointing to a valid service.
Namespace
Symfony\Component\DependencyInjection\CompilerCode
public function process(ContainerBuilder $container) {
$this->container = $container;
foreach ($container
->getDefinitions() as $id => $definition) {
$this->sourceId = $id;
$this
->processDefinition($definition);
}
}