PHP Class bitExpert\Disco\Proxy\Configuration\ConfigurationFactory

Inheritance: extends ProxyManager\Factory\AbstractBaseFactory
显示文件 Open project: bitExpert/disco Class Usage Examples

Public Methods

Method Description
__construct ( BeanFactoryConfiguration $config ) Creates a new {@link \bitExpert\Disco\Proxy\Configuration\ConfigurationFactory}.
createInstance ( BeanFactoryConfiguration $config, string $configClassName, array $parameters = [] ) : object Creates an instance of the given $configClassName.

Protected Methods

Method Description
getGenerator ( ) : ProxyManager\ProxyGenerator\ProxyGeneratorInterface {@inheritDoc}

Method Details

__construct() public method

Creates a new {@link \bitExpert\Disco\Proxy\Configuration\ConfigurationFactory}.
public __construct ( BeanFactoryConfiguration $config )
$config bitExpert\Disco\BeanFactoryConfiguration

createInstance() public method

Creates an instance of the given $configClassName.
public createInstance ( BeanFactoryConfiguration $config, string $configClassName, array $parameters = [] ) : object
$config bitExpert\Disco\BeanFactoryConfiguration
$configClassName string name of the configuration class
$parameters array
return object

getGenerator() protected method

{@inheritDoc}
protected getGenerator ( ) : ProxyManager\ProxyGenerator\ProxyGeneratorInterface
return ProxyManager\ProxyGenerator\ProxyGeneratorInterface