$loaded
$loaded :
Properties
Anax base class implementing Dependency Injection / Service Locator of the services used by the framework, using lazy loading.
set(string $service, mixed $loader, boolean $singleton = false) : \Anax\DI\nothing.
Set a service and connect it to a task which creates the object (lazy loading).
| string | $service | as a service label, naming this service. |
| mixed | $loader | contains a pre-defined object, a string with classname or an |
| boolean | $singleton | set if service is to act as singleton or not, default is false. |
setShared(string $service, mixed $loader) : \Anax\DI\nothing.
Set a singleton service and connect it to a task which creates the object (lazy loading).
| string | $service | as a service label, naming this service. |
| mixed | $loader | contains a pre-defined object, a string with classname or an |
__call(string $service, array $arguments = array()) : \Anax\DI\class
Magic method to get and create services.
When created it is also stored as a parameter of this object.
| string | $service | name of class property not existing. |
| array | $arguments | currently NOT USED. |
as the service requested.