setAlias(string $alias, string|Alias $id)
Sets an alias for an existing service.
setAlias(string $alias, string|Alias $id)
Sets an alias for an existing service.
string | $alias | The alias to create |
string|Alias | $id | The service to alias |
InvalidArgumentException | if the id is not a string or an Alias |
InvalidArgumentException | if the alias is for itself |
Designed by : w10schools
service@w10schools.com
Please login to continue.