Method | Description | |
---|---|---|
__construct ( Horde_Injector_Binder $binder, Horde_Injector_DependencyFinder $finder = null ) | Constructor. | |
create ( Horde_Injector $injector ) | ||
equals ( Horde_Injector_Binder $otherBinder ) : boolean | ||
getBinder ( ) : Horde_Injector_Binder |
Method | Description | |
---|---|---|
_callSetters ( array $setters, Horde_Injector $injector, object $instance ) | Call each ReflectionMethod in the $setters array, filling in its dependencies with the $injector. | |
_findAnnotatedSetters ( ReflectionClass $reflectionClass ) : array | Find all public methods in $reflectionClass that are annotated with | |
_isSetterMethod ( ReflectionMethod $reflectionMethod ) | Is a method a setter method, by the criteria we define (has a doc comment that includes @inject). |
public __construct ( Horde_Injector_Binder $binder, Horde_Injector_DependencyFinder $finder = null ) | ||
$binder | Horde_Injector_Binder | |
$finder | Horde_Injector_DependencyFinder |