Symfony2 API
Class

Symfony\Component\DependencyInjection\Alias

class Alias

Methods

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

Constructor.

Boolean isPublic()

Checks if this DI Alias should be public or not.

setPublic(Boolean $boolean)

Sets if this Alias is public.

string __toString()

Returns the Id of this alias.

Details

at line 30
public __construct(string $id, Boolean $public = true)

Constructor.

Parameters

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

at line 43
public Boolean isPublic()

Checks if this DI Alias should be public or not.

Return Value

Boolean

at line 55
public setPublic(Boolean $boolean)

Sets if this Alias is public.

Parameters

Boolean $boolean If this Alias should be public

at line 67
public string __toString()

Returns the Id of this alias.

Return Value

string The alias id