Interface Horde_Injector_Scope
Interface for injector scopes
Injectors implement a Chain of Responsibility pattern. This is the
required interface for injectors to pass on responsibility to parent
objects in the chain.
Methods summary
public
Horde_Injector_Binder |null
|
#
getBinder( string $interface )
Returns the Horde_Injector_Binder object mapped to the request
interface if such a
mapping exists
Returns the Horde_Injector_Binder object mapped to the request
interface if such a
mapping exists
Parameters
- $interface
- <p>Interface name of object whose binding if
being retrieved.</p>
Returns
|
public
Object
|
#
getInstance( string $interface )
Returns instance of requested object if proper configuration has been
provided.
Returns instance of requested object if proper configuration has been
provided.
Parameters
- $interface
- <p>Interface name of object which is being
requested.</p>
Returns
Object
|