You are here

private function CheckExceptionOnInvalidReferenceBehaviorPass::processDefinition in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php \Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass::processDefinition()
2 calls to CheckExceptionOnInvalidReferenceBehaviorPass::processDefinition()
CheckExceptionOnInvalidReferenceBehaviorPass::process in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php
You can modify the container here before it is dumped to PHP code.
CheckExceptionOnInvalidReferenceBehaviorPass::processReferences in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php, line 40

Class

CheckExceptionOnInvalidReferenceBehaviorPass
Checks that all references are pointing to a valid service.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

private function processDefinition(Definition $definition) {
  $this
    ->processReferences($definition
    ->getArguments());
  $this
    ->processReferences($definition
    ->getMethodCalls());
  $this
    ->processReferences($definition
    ->getProperties());
}