Symfony\Component\DependencyInjection\ContainerBuilder::hasAlias
Returns true if an alias exists under the given identifier.
Signature
public function hasAlias(string
$id )
Parameters
$id
— string- The service identifier
Returns
- Boolean
- true if the alias exists, false otherwise