Gets an alias.
@api
string $id The service identifier:
InvalidArgumentException if the alias does not exist
public function getAlias($id) {
$id = strtolower($id);
if (!$this
->hasAlias($id)) {
throw new InvalidArgumentException(sprintf('The service alias "%s" does not exist.', $id));
}
return $this->aliasDefinitions[$id];
}