Method | Description | |
---|---|---|
fromReflection ( Zend\Code\Reflection\MethodReflection $reflectionMethod ) : ProxyManager\Generator\MethodGenerator | ||
generateMethod ( Zend\Code\Reflection\MethodReflection $originalMethod, |
Creates a new {@link \bitExpert\Disco\Proxy\Configuration\MethodGenerator\BeanMethod}. |
Method | Description | |
---|---|---|
convertMethodParamsToString ( |
Converts the Parameter annotations to the respective getParameter() method calls to retrieve the configuration values. | |
generateBeanCreationCode ( string $padding, string $beanId, string $methodParams, |
Helper method to generate the code to initialize a bean. | |
generateLazyBeanCode ( string $padding, string $beanId, string $beanType, |
Helper method to generate the method body for managing lazy bean instances. | |
generateNonLazyBeanCode ( string $padding, string $beanId, string $beanType, |
Helper method to generate the method body for managing non-lazy bean instances. |
protected static convertMethodParamsToString ( |
||
$methodParameters | ||
$parameterValuesMethod | ||
return | string |
public static fromReflection ( Zend\Code\Reflection\MethodReflection $reflectionMethod ) : ProxyManager\Generator\MethodGenerator | ||
$reflectionMethod | Zend\Code\Reflection\MethodReflection | |
return | ProxyManager\Generator\MethodGenerator |
protected static generateBeanCreationCode ( string $padding, string $beanId, string $methodParams, |
||
$padding | string | |
$beanId | string | |
$methodParams | string | |
$postProcessorsProperty | ||
return | string |
protected static generateLazyBeanCode ( string $padding, string $beanId, string $beanType, |
||
$padding | string | |
$beanId | string | |
$beanType | string | |
$beanMetadata | ||
$methodParams | string | |
$forceLazyInitProperty | ||
$sessionBeansProperty | ||
$postProcessorsProperty | ||
$beanFactoryConfigurationProperty | ||
return | string |
public static generateMethod ( Zend\Code\Reflection\MethodReflection $originalMethod, |
||
$originalMethod | Zend\Code\Reflection\MethodReflection | |
$beanMetadata | ||
$methodParameters | ||
$beanType | ||
$forceLazyInitProperty | ||
$sessionBeansProperty | ||
$postProcessorsProperty | ||
$beanFactoryConfigurationProperty | ||
$parameterValuesMethod | ||
$wrapBeanAsLazy | ||
return |
protected static generateNonLazyBeanCode ( string $padding, string $beanId, string $beanType, |
||
$padding | string | |
$beanId | string | |
$beanType | string | |
$beanMetadata | ||
$methodParams | string | |
$forceLazyInitProperty | ||
$sessionBeansProperty | ||
$postProcessorsProperty | ||
$wrapBeanAsLazy | ||
return | string |