PHP Interface bitExpert\Disco\Proxy\Configuration\AliasContainerInterface

Exibir arquivo Open project: bitexpert/disco Interface Usage Examples

Public Methods

Method Description
getAlias ( string $alias ) : mixed Finds an entry of the container by the given alias and returns it.
hasAlias ( string $alias ) : boolean Returns true if the container can return an entry for the given alias.

Method Details

getAlias() public method

Finds an entry of the container by the given alias and returns it.
public getAlias ( string $alias ) : mixed
$alias string Alias of the entry to look for.
return mixed

hasAlias() public method

Returns false otherwise.
public hasAlias ( string $alias ) : boolean
$alias string Identifier of the entry to look for
return boolean