PHP Class DI\Annotation\Inject

Marks a property or method as an injection point
Author: Matthieu Napoli ([email protected])
Datei anzeigen Open project: mnapoli/php-di

Public Methods

Method Description
__construct ( array $values )
getName ( ) : string
getParameters ( ) : array

Method Details

__construct() public method

public __construct ( array $values )
$values array

getName() public method

public getName ( ) : string
return string Name of the entry to inject

getParameters() public method

public getParameters ( ) : array
return array Parameters, indexed by the parameter number (index) or name