private function AnalyzeServiceReferencesPass::getDefinition in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/AnalyzeServiceReferencesPass.php \Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass::getDefinition()
Returns a service definition given the full name or an alias.
Parameters
string $id A full id or alias for a service definition.:
Return value
Definition|null The definition related to the supplied id
2 calls to AnalyzeServiceReferencesPass::getDefinition()
- AnalyzeServiceReferencesPass::process in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Compiler/ AnalyzeServiceReferencesPass.php - Processes a ContainerBuilder object to populate the service reference graph.
- AnalyzeServiceReferencesPass::processArguments in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Compiler/ AnalyzeServiceReferencesPass.php - Processes service definitions for arguments to find relationships for the service graph.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Compiler/ AnalyzeServiceReferencesPass.php, line 135
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 getDefinition($id) {
$id = $this
->getDefinitionId($id);
return null === $id ? null : $this->container
->getDefinition($id);
}