Alias
class Alias
Methods
__construct(string $id, bool $public = true) | ||
bool | isPublic() Checks if this DI Alias should be public or not. | |
setPublic(bool $boolean) Sets if this Alias is public. | ||
string | __toString() Returns the Id of this alias. |
Details
__construct(string $id, bool $public = true)
Parameters
string | $id | Alias identifier |
bool | $public | If this alias is public |
bool isPublic()
Checks if this DI Alias should be public or not.
Return Value
bool |
setPublic(bool $boolean)
Sets if this Alias is public.
Parameters
bool | $boolean | If this Alias should be public |
string __toString()
Returns the Id of this alias.
Return Value
string | The alias id |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/DependencyInjection/Alias.html