Class Xyster_Container_Injection_Constructor

Description

Instantiates component using Constructor injection

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

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

Xyster_Container_Adapter_Abstract
   |
   --Xyster_Container_Injection_Abstract
      |
      --Xyster_Container_Injection_SingleMember
         |
         --Xyster_Container_Injection_Constructor
Method Summary
string getDescriptor ()
object the getInstance (Xyster_Container_Interface $container)
void verify (Xyster_Container_Interface $container)
Variables
Methods
getDescriptor (line 35)

Gets the descriptor of this adapter

  • access: public
string getDescriptor ()
getInstance (line 48)

Retrieve the component instance

  • return: component instance.
  • throws: Exception if the component has dependencies which could not be resolved, or instantiation of the component lead to an ambigous situation within the container.
  • throws: Exception if the component could not be instantiated.
  • access: public
object the getInstance (Xyster_Container_Interface $container)
verify (line 75)

Verify that all dependencies for this adapter can be satisifed

  • throws: Exception if one or more dependencies cannot be resolved
  • access: public
void verify (Xyster_Container_Interface $container)

Inherited Methods

Inherited From Xyster_Container_Injection_SingleMember

Xyster_Container_Injection_SingleMember::_getMemberArguments()

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:17 -0400 by phpDocumentor 1.4.2