PHP Class Ouzo\Injection\InstanceFactory

Mostra file Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
__construct ( Bindings $bindings, Ouzo\Injection\Annotation\AnnotationMetadataProvider $provider )
createInstance ( InstanceRepository $repository, $className )

Private Methods

Method Description
injectDependencies ( InstanceRepository $repository, $instance )

Method Details

__construct() public method

public __construct ( Bindings $bindings, Ouzo\Injection\Annotation\AnnotationMetadataProvider $provider )
$bindings Bindings
$provider Ouzo\Injection\Annotation\AnnotationMetadataProvider

createInstance() public method

public createInstance ( InstanceRepository $repository, $className )
$repository InstanceRepository