PHP Class Ouzo\Injection\InstanceRepository

显示文件 Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
getInstance ( InstanceFactory $factory, Binder $binder )
singletonInstance ( InstanceFactory $factory, $className )

Method Details

getInstance() public method

public getInstance ( InstanceFactory $factory, Binder $binder )
$factory InstanceFactory
$binder Binder

singletonInstance() public method

public singletonInstance ( InstanceFactory $factory, $className )
$factory InstanceFactory