class CheckReferenceValidityPass

Checks the validity of references

The following checks are performed by this pass:

  • target definitions are not abstract
  • target definitions are of equal or wider scope
  • target definitions are in the same scope hierarchy

@author Johannes M. Schmitt <schmittjoh@gmail.com>

Hierarchy

Expanded class hierarchy of CheckReferenceValidityPass

1 file declares its use of CheckReferenceValidityPass

File

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

Namespace

Symfony\Component\DependencyInjection\Compiler
View source

Members

Namesort descending Modifiers Type Description Overrides
CheckReferenceValidityPass::$container private property
CheckReferenceValidityPass::$currentDefinition private property
CheckReferenceValidityPass::$currentId private property
CheckReferenceValidityPass::$currentScope private property
CheckReferenceValidityPass::$currentScopeAncestors private property
CheckReferenceValidityPass::$currentScopeChildren private property
CheckReferenceValidityPass::getDefinition private function Returns the Definition given an id.
CheckReferenceValidityPass::process public function Processes the ContainerBuilder to validate References. Overrides CompilerPassInterface::process
CheckReferenceValidityPass::validateReferences private function Validates an array of References.
CheckReferenceValidityPass::validateScope private function Validates the scope of a single Reference.