PHP Class Ouzo\Injection\Injector

Show file Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
__construct ( InjectorConfig $config = null, Ouzo\Injection\Annotation\AnnotationMetadataProvider $provider = null )
getInstance ( $className, $name = '' )

Method Details

__construct() public method

public __construct ( InjectorConfig $config = null, Ouzo\Injection\Annotation\AnnotationMetadataProvider $provider = null )
$config InjectorConfig
$provider Ouzo\Injection\Annotation\AnnotationMetadataProvider

getInstance() public method

public getInstance ( $className, $name = '' )