PHP Class bitExpert\Disco\BeanFactoryConfiguration

Exibir arquivo Open project: bitExpert/disco Class Usage Examples

Protected Properties

Property Type Description
$proxyAutoloader ProxyManager\Autoloader\AutoloaderInterface
$proxyTargetDir string
$proxyWriterGenerator ProxyManager\GeneratorStrategy\GeneratorStrategyInterface
$sessionBeanStore bitExpert\Disco\Store\BeanStore

Public Methods

Method Description
__construct ( string $proxyTargetDir ) Creates a new {@link \bitExpert\Disco\BeanFactoryConfiguration}.
getProxyManagerConfiguration ( ) : ProxyManager\Configuration Returns the ProxyManager configuration based on the current {@link \bitExpert\Disco\BeanFactoryConfiguration}.
getSessionBeanStore ( ) : bitExpert\Disco\Store\BeanStore Returns the configured {@link \bitExpert\Disco\Store\BeanStore} used to store the session-aware beans in.
setProxyAutoloader ( ProxyManager\Autoloader\AutoloaderInterface $autoloader ) Sets the {@link \ProxyManager\Autoloader\AutoloaderInterface} that should be used by ProxyManager to load the generated classes.
setProxyTargetDir ( string $proxyTargetDir ) Sets the directory in which ProxyManager will store the generated proxy classes in.
setProxyWriterGenerator ( ProxyManager\GeneratorStrategy\GeneratorStrategyInterface $writergenerator ) Sets the {@link \ProxyManager\GeneratorStrategy\GeneratorStrategyInterface} which ProxyManager will use the generate the proxy classes.
setSessionBeanStore ( bitExpert\Disco\Store\BeanStore $sessionBeanStore ) Sets the {@link \bitExpert\Disco\Store\BeanStore} instance used to store the session-aware beans.

Method Details

__construct() public method

Creates a new {@link \bitExpert\Disco\BeanFactoryConfiguration}.
public __construct ( string $proxyTargetDir )
$proxyTargetDir string

getProxyManagerConfiguration() public method

Returns the ProxyManager configuration based on the current {@link \bitExpert\Disco\BeanFactoryConfiguration}.
public getProxyManagerConfiguration ( ) : ProxyManager\Configuration
return ProxyManager\Configuration

getSessionBeanStore() public method

Returns the configured {@link \bitExpert\Disco\Store\BeanStore} used to store the session-aware beans in.
public getSessionBeanStore ( ) : bitExpert\Disco\Store\BeanStore
return bitExpert\Disco\Store\BeanStore

setProxyAutoloader() public method

Sets the {@link \ProxyManager\Autoloader\AutoloaderInterface} that should be used by ProxyManager to load the generated classes.
public setProxyAutoloader ( ProxyManager\Autoloader\AutoloaderInterface $autoloader )
$autoloader ProxyManager\Autoloader\AutoloaderInterface

setProxyTargetDir() public method

Sets the directory in which ProxyManager will store the generated proxy classes in.
public setProxyTargetDir ( string $proxyTargetDir )
$proxyTargetDir string

setProxyWriterGenerator() public method

Sets the {@link \ProxyManager\GeneratorStrategy\GeneratorStrategyInterface} which ProxyManager will use the generate the proxy classes.
public setProxyWriterGenerator ( ProxyManager\GeneratorStrategy\GeneratorStrategyInterface $writergenerator )
$writergenerator ProxyManager\GeneratorStrategy\GeneratorStrategyInterface

setSessionBeanStore() public method

Sets the {@link \bitExpert\Disco\Store\BeanStore} instance used to store the session-aware beans.
public setSessionBeanStore ( bitExpert\Disco\Store\BeanStore $sessionBeanStore )
$sessionBeanStore bitExpert\Disco\Store\BeanStore

Property Details

$proxyAutoloader protected_oe property

protected AutoloaderInterface,ProxyManager\Autoloader $proxyAutoloader
return ProxyManager\Autoloader\AutoloaderInterface

$proxyTargetDir protected_oe property

protected string $proxyTargetDir
return string

$proxyWriterGenerator protected_oe property

protected GeneratorStrategyInterface,ProxyManager\GeneratorStrategy $proxyWriterGenerator
return ProxyManager\GeneratorStrategy\GeneratorStrategyInterface

$sessionBeanStore protected_oe property

protected BeanStore,bitExpert\Disco\Store $sessionBeanStore
return bitExpert\Disco\Store\BeanStore