Core interface for registration of components within a container
Located in /Container/Mutable.php (line 28)
Xyster_Container_Interface | --Xyster_Container_Mutable
Register a component via an Adapter
Use this if you need fine grained control over what Adapter to use for a specific component.
Register a component
This method creates specific instructions with which components and/or constants to provide as constructor arguments.
If the key is null, the implementation class will be used as a key.
These "directives" are provided through an array of Parameter objects. Parameter[0] correspondes to the first constructor argument, Parameter[N] corresponds to the N+1th constructor argument.
Partial Autowiring: If you have two constructor args to match and you only wish to specify one of the constructors and let the Container wire the other one, you can use as parameters:
Force No-Arg constructor usage: If you wish to force a component to be constructed with the no-arg constructor, use a zero length Parameter array.
Register a component instance
If the key is null, the implementation class will be used as a key.
Register a config item
You can change the characteristic of registration of all subsequent components in this container
Unregister a component by key
Unregister a component by instance
You can set for the following operation only the characteristic of registration of a component on the fly
Inherited From Xyster_Container_Interface
Xyster_Container_Interface::accept()
Xyster_Container_Interface::getComponent()
Xyster_Container_Interface::getComponentAdapter()
Xyster_Container_Interface::getComponentAdapterByType()
Xyster_Container_Interface::getComponentAdapters()
Xyster_Container_Interface::getComponents()
Documentation generated on Mon, 19 May 2008 17:08:25 -0400 by phpDocumentor 1.4.2