class Alias

Methods

__construct(string $id, bool $public = true)

No description

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

at line 23
__construct(string $id, bool $public = true)

Parameters

string $id Alias identifier
bool $public If this alias is public

at line 34
bool isPublic()

Checks if this DI Alias should be public or not.

Return Value

bool

at line 44
setPublic(bool $boolean)

Sets if this Alias is public.

Parameters

bool $boolean If this Alias should be public

at line 54
string __toString()

Returns the Id of this alias.

Return Value

string The alias id