\Horde_Injector_Binder_Implementation

Summary

Methods
Properties
Constants
__construct()
getImplementation()
equals()
create()
No public properties found
No constants found
_validateImplementation()
_getInstance()
No protected properties found
N/A
No private methods found
$_implementation
$_dependencyFinder
N/A

Properties

$_implementation

$_implementation : 

Type

Methods

__construct()

__construct(  $implementation, \Horde_Injector_DependencyFinder  $finder = null) 

Parameters

$implementation
\Horde_Injector_DependencyFinder $finder

getImplementation()

getImplementation() 

equals()

equals(\Horde_Injector_Binder  $otherBinder) : boolean

Determine if one binder equals another binder

Parameters

\Horde_Injector_Binder $otherBinder

Returns

boolean —

Equality.

create()

create(\Horde_Injector  $injector) : mixed

Create an instance.

Parameters

\Horde_Injector $injector

The injector should provide all required dependencies for creating the instance.

Returns

mixed —

The concrete instance.

_validateImplementation()

_validateImplementation(\ReflectionClass  $reflectionClass) 

Parameters

\ReflectionClass $reflectionClass

_getInstance()

_getInstance(\Horde_Injector  $injector, \ReflectionClass  $class) 

Parameters

\Horde_Injector $injector
\ReflectionClass $class