PHP Interface bitExpert\Disco\Proxy\Configuration\AliasContainerInterface

Afficher le fichier Open project: bitexpert/disco Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat mixed

hasAlias() public méthode

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