Class Xyster_Container_Injection_Setter

Description

Instantiates components using empty constructors and setter injection

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • license: New BSD License

Located in /Container/Injection/Setter.php (line 28)

Xyster_Container_Adapter_Abstract
   |
   --Xyster_Container_Injection_Abstract
      |
      --Xyster_Container_Injection_Iterative
         |
         --Xyster_Container_Injection_Setter
Variable Summary
Method Summary
Xyster_Container_Injection_Setter __construct (mixed $componentKey, object $componentImplementation, [ $parameters = null], [Xyster_Container_Monitor $monitor = null], [string $setterMethodPrefix = 'set'])
string getDescriptor ()
string _getInjectorPrefix ()
boolean _isInjectorMethod ( $method)
Variables
Methods
Constructor __construct (line 41)

Creates a new setter injector

  • access: public
Xyster_Container_Injection_Setter __construct (mixed $componentKey, object $componentImplementation, [ $parameters = null], [Xyster_Container_Monitor $monitor = null], [string $setterMethodPrefix = 'set'])
  • mixed $componentKey
  • object $componentImplementation
  • array $parameters
  • Xyster_Container_Monitor $monitor
  • string $setterMethodPrefix

Redefinition of:
Xyster_Container_Injection_Abstract::__construct()
Constructs a new adapter for the given key and implementation
getDescriptor (line 52)

Gets the descriptor of this adapter

  • access: public
string getDescriptor ()
_getInjectorPrefix (line 62)

Gets the setter method prefix

  • access: protected
string _getInjectorPrefix ()
_isInjectorMethod (line 73)

{@inherit}

  • access: protected
boolean _isInjectorMethod ( $method)
  • ReflectionMethod $method

Redefinition of:
Xyster_Container_Injection_Iterative::_isInjectorMethod()
Gets whether the method passed in should be used for injection

Inherited Methods

Inherited From Xyster_Container_Injection_Iterative

Xyster_Container_Injection_Iterative::getInstance()
Xyster_Container_Injection_Iterative::verify()
Xyster_Container_Injection_Iterative::_getMatchingParameterListForSetters()
Xyster_Container_Injection_Iterative::_getOrMakeInstance()
Xyster_Container_Injection_Iterative::_initializeInjectionMembersAndTypeLists()
Xyster_Container_Injection_Iterative::_injectIntoMember()
Xyster_Container_Injection_Iterative::_isInjectorMethod()
Xyster_Container_Injection_Iterative::_makeParameterNameImpl()

Inherited From Xyster_Container_Injection_Abstract

Xyster_Container_Injection_Abstract::__construct()
Xyster_Container_Injection_Abstract::accept()
Xyster_Container_Injection_Abstract::useNames()
Xyster_Container_Injection_Abstract::_caughtInstantiationException()
Xyster_Container_Injection_Abstract::_caughtInvocationTargetException()
Xyster_Container_Injection_Abstract::_checkConcrete()
Xyster_Container_Injection_Abstract::_createDefaultParameters()
Xyster_Container_Injection_Abstract::_newInstance()

Inherited From Xyster_Container_Adapter_Abstract

Xyster_Container_Adapter_Abstract::__construct()
Xyster_Container_Adapter_Abstract::accept()
Xyster_Container_Adapter_Abstract::changeMonitor()
Xyster_Container_Adapter_Abstract::currentMonitor()
Xyster_Container_Adapter_Abstract::getDelegate()
Xyster_Container_Adapter_Abstract::getImplementation()
Xyster_Container_Adapter_Abstract::getKey()
Xyster_Container_Adapter_Abstract::_checkTypeCompatibility()
Xyster_Container_Adapter_Abstract::__toString()

Documentation generated on Mon, 19 May 2008 17:08:33 -0400 by phpDocumentor 1.4.2