PHP Class DI\Definition\AliasDefinition

Author: Matthieu Napoli ([email protected])
Inheritance: implements CacheableDefinition, implements DI\Definition\SelfResolvingDefinition
Afficher le fichier Open project: mnapoli/php-di

Méthodes publiques

Méthode Description
__construct ( string $name, string $targetEntryName )
__toString ( )
getName ( ) : string
getScope ( )
getTargetEntryName ( ) : string
isResolvable ( Interop\Container\ContainerInterface $container )
resolve ( Interop\Container\ContainerInterface $container )

Method Details

__construct() public méthode

public __construct ( string $name, string $targetEntryName )
$name string Entry name
$targetEntryName string Name of the target entry

__toString() public méthode

public __toString ( )

getName() public méthode

public getName ( ) : string
Résultat string Entry name

getScope() public méthode

public getScope ( )

getTargetEntryName() public méthode

public getTargetEntryName ( ) : string
Résultat string

isResolvable() public méthode

public isResolvable ( Interop\Container\ContainerInterface $container )
$container Interop\Container\ContainerInterface

resolve() public méthode

public resolve ( Interop\Container\ContainerInterface $container )
$container Interop\Container\ContainerInterface