Responsible for creating component adapters
The main use of the factory is to customize the default component adapter used when none is specified explicitly.
Located in /Container/Adapter/Factory.php (line 27)
Class | Description |
---|---|
Xyster_Container_Injection_Factory | An tagging interface for Injection factories |
Xyster_Container_Behavior_Factory | Extends Xyster_Container_Adapter_Factory to provide methods for Behaviors |
Create a new component adapter based on the specified arguments
The $key parameter should be returned from a call to getComponentKey() on the created adapter.
The $implementation parameter is the implementation class to be associated with this adapter. This value should be returned from a call to getImplementation() on the created adapter. Should not be null.
The $parameters parameter are additional parameters to use by the component adapter in constructing component instances. These may be used, for example, to make decisions about the arguments passed into the component constructor. These should be considered hints; they may be ignored by some implementations. May be null, and may be of zero length.
Documentation generated on Mon, 19 May 2008 17:08:20 -0400 by phpDocumentor 1.4.2