PHP Class bitExpert\Disco\BeanFactoryRegistry

Show file Open project: bitexpert/disco Class Usage Examples

Protected Properties

Property Type Description
$beanFactory BeanFactory

Public Methods

Method Description
getInstance ( ) : BeanFactory | null Returns the registered {@link \bitExpert\Disco\BeanFactory} instance or null if not defined.
register ( BeanFactory $beanFactory )

Method Details

getInstance() public static method

Returns the registered {@link \bitExpert\Disco\BeanFactory} instance or null if not defined.
public static getInstance ( ) : BeanFactory | null
return BeanFactory | null

register() public static method

public static register ( BeanFactory $beanFactory )
$beanFactory BeanFactory

Property Details

$beanFactory protected static property

protected static BeanFactory $beanFactory
return BeanFactory