Overview

Packages

  • Injector

Classes

  • Horde_Injector
  • Horde_Injector_Binder_AnnotatedSetters
  • Horde_Injector_Binder_Closure
  • Horde_Injector_Binder_Factory
  • Horde_Injector_Binder_Implementation
  • Horde_Injector_DependencyFinder
  • Horde_Injector_Exception
  • Horde_Injector_TopLevel

Interfaces

  • Horde_Injector_Binder
  • Horde_Injector_Scope
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Injector_Binder_AnnotatedSetters

This is a binder that finds methods marked with @inject and calls them with their dependencies. It must be stacked on another binder that actually creates the instance.

Horde_Injector_Binder_AnnotatedSetters implements Horde_Injector_Binder
Package: Injector
Category: Horde
Author: Bob Mckee bmckee@bywires.com
Author: James Pepin james@jamespepin.com
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Injector/Binder/AnnotatedSetters.php
Methods summary
public
# __construct( Horde_Injector_Binder $binder, Horde_Injector_DependencyFinder $finder = null )

Constructor.

Constructor.

Parameters

$binder
TODO
$finder
TODO
public boolean
# equals( Horde_Injector_Binder $otherBinder )

TODO

TODO

Parameters

$otherBinder
$binder TODO

Returns

boolean
Equality.

Implementation of

Horde_Injector_Binder::equals()
public Horde_Injector_Binder
# getBinder( )

TODO

TODO

Returns

Horde_Injector_Binder
TODO
public mixed
# create( Horde_Injector $injector )

TODO

TODO

Parameters

$injector
<p>The injector should provide all required dependencies for creating the instance.</p>

Returns

mixed
The concrete instance.

Implementation of

Horde_Injector_Binder::create()
API documentation generated by ApiGen