function AnalyzeServiceReferencesPass::getDefinitionId
2 calls to AnalyzeServiceReferencesPass::getDefinitionId()
- AnalyzeServiceReferencesPass::process in vendor/
symfony/ dependency-injection/ Compiler/ AnalyzeServiceReferencesPass.php - Processes a ContainerBuilder object to populate the service reference graph.
- AnalyzeServiceReferencesPass::processValue in vendor/
symfony/ dependency-injection/ Compiler/ AnalyzeServiceReferencesPass.php - Processes a value found in a definition tree.
File
-
vendor/
symfony/ dependency-injection/ Compiler/ AnalyzeServiceReferencesPass.php, line 193
Class
- AnalyzeServiceReferencesPass
- Run this pass before passes that need to know more about the relation of your services.
Namespace
Symfony\Component\DependencyInjection\CompilerCode
private function getDefinitionId(string $id) : ?string {
while (isset($this->aliases[$id])) {
$id = (string) $this->aliases[$id];
}
return isset($this->definitions[$id]) ? $id : null;
}