ContainerBuilder::findDefinition()

Definition findDefinition(string $id)

Gets a service definition by id or alias.

The method "unaliases" recursively to return a Definition instance.

Parameters

string $id The service identifier or alias

Return Value

Definition A Definition instance

Exceptions

ServiceNotFoundException if the service definition does not exist
doc_Symfony
2016-10-28 06:11:59
Comments
Leave a Comment

Please login to continue.