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
doc_Symfony
2016-10-28 06:05:08
Comments
Leave a Comment

Please login to continue.