private function CheckReferenceValidityPass::getDefinition in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php \Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass::getDefinition()
Returns the Definition given an id.
Parameters
string $id Definition identifier:
Return value
1 call to CheckReferenceValidityPass::getDefinition()
- CheckReferenceValidityPass::validateReferences in vendor/
symfony/ dependency-injection/ Compiler/ CheckReferenceValidityPass.php - Validates an array of References.
File
- vendor/
symfony/ dependency-injection/ Compiler/ CheckReferenceValidityPass.php, line 157
Class
- CheckReferenceValidityPass
- Checks the validity of references.
Namespace
Symfony\Component\DependencyInjection\CompilerCode
private function getDefinition($id) {
if (!$this->container
->hasDefinition($id)) {
return;
}
return $this->container
->getDefinition($id);
}