PHP Class DI\Definition\StringDefinition

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

Méthodes publiques

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

Method Details

__construct() public méthode

public __construct ( string $name, string $expression )
$name string Entry name
$expression string

__toString() public méthode

public __toString ( )

getExpression() public méthode

public getExpression ( ) : string
Résultat string

getName() public méthode

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

getScope() public méthode

public getScope ( )

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