boolean addInstance(
object
&$instance, string
$methodname)
|
|
Add an instance to the register.
Always refrences to instances are stored. If more than one instance are registered with the same method, these instances will be added to an IsterQueueFIFO.
Parameters:
object &getNextInstance(
string
$methodname, [string
$class = null])
|
|
Return next instance with a specified method defined.
The method returns null if no instance is left, false on error. If a class name is specified via $class, only instances of that class are returned.
Note: You must not forget to write the '&' sign when fetching instances:
Parameters: