Returns a service definition given the full name or an alias.
string $id A full id or alias for a service definition.:
Definition|null The definition related to the supplied id
private function getDefinition($id) {
$id = $this
->getDefinitionId($id);
return null === $id ? null : $this->container
->getDefinition($id);
}