Method |
Description |
|
_applyAspect ( $targetClass, Ding\Aspect\AspectDefinition $aspectDefinition, Ding\Aspect\Interceptor\IDispatcher $dispatcher ) : void |
Will inject into the given dispatcher the necessary information to
aspects will be run correctly. |
|
_applyAspects ( Ding\Bean\BeanDefinition $definition ) : void |
Applies specific bean aspects and global defined aspects. |
|
_applyGlobalAspects ( Ding\Bean\BeanDefinition $definition, Ding\Aspect\Interceptor\IDispatcher $dispatcher ) : void |
Looks for any global aspects that may apply to this bean and applies them. |
|
_applySpecificAspects ( Ding\Bean\BeanDefinition $definition, Ding\Aspect\Interceptor\IDispatcher $dispatcher ) : void |
Applies all aspects specifically defined for this bean definition. |
|
_assemble ( mixed $bean, Ding\Bean\BeanDefinition $beanDefinition ) : void |
Assembles a bean (setter injection) |
|
_createBean ( Ding\Bean\BeanDefinition $definition ) : object |
This will create a new bean, injecting all properties and applying all
aspects. |
|
_createBeanDependencies ( Ding\Bean\BeanDefinition $definition ) : void |
Creates whatever beans this definition depends on. |
|
_getConstructorValuesForDefinition ( Ding\Bean\BeanDefinition $definition ) : object |
Resolves all values for constructor arguments definitions in a
bean definition. |
|
_getValueFromDefinition ( Ding\Bean\BeanPropertyDefinition | Ding\Bean\BeanConstructorArgumentDefinition $what ) : void |
This will resolve a property (or constructor arg) definition to a final
value, being a bean reference, array of other properties (or
constructor args), etc. |
|
_instantiate ( Ding\Bean\BeanDefinition $definition ) : object |
Instantiates a bean. |
|
_instantiateByConstructor ( Ding\Bean\BeanDefinition $definition ) : object |
Instantiates a bean using the constructor. |
|
_instantiateByFactoryBean ( Ding\Bean\BeanDefinition $definition ) : object |
Instantiates a bean using a factory bean. |
|
_instantiateByFactoryClass ( Ding\Bean\BeanDefinition $definition ) : object |
Instantiates a bean using a factory class. |
|
_loadValue ( mixed $value ) : mixed |
Takes care of transforming a scalar value for a property or constructor
argument, into a an actual value (i.e: if its a resource://, loading it
first). |
|
_nonSetterMethodInject ( object $bean, string $name, string $value ) : boolean |
Tries to inject by looking up a method of the given name. |
|
_propertyInject ( object $bean, string $name, string $value ) : boolean |
Tries to inject by looking up a property by name. |
|
_searchAndReplaceProperties ( string $value ) : string |
Will try to search and replace the properties found in the given
value. |
|
_setterInject ( object $bean, string $name, string $value ) : boolean |
Tries to inject by looking up set* methods. |
|
_setupInitAndShutdown ( object $bean, Ding\Bean\BeanDefinition $definition ) : void |
Calls init method and register shutdown method. |
|
_sortArgsWithNames ( Ding\Bean\BeanDefinition $definition, ReflectionMethod $rMethod ) |
|
|