File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/AnalyzeServiceReferencesPass.php, line 128
Class
- AnalyzeServiceReferencesPass
- Run this pass before passes that need to know more about the relation of
your services.
Namespace
Symfony\Component\DependencyInjection\Compiler
Code
private function getDefinitionId($id) {
while ($this->container
->hasAlias($id)) {
$id = (string) $this->container
->getAlias($id);
}
if (!$this->container
->hasDefinition($id)) {
return null;
}
return $id;
}