Private
the array of definitions this container managers
Private
the hash with parameters this container holds
Method getService()
Get and service of parameter from the container
Parameters:
Returns a mixed
Method isId()
Check wether the string an parameter id
Parameters:
Returns a Boolean
Method setParameter()
Set a parameter on this container
Parameters:
id must be a string.
val must be a mixed.
Retrieve a parameter from the container
Parameters:
Returns a mixed
Method findTaggedServiceIds()
Return an array of service ids from services with the given tag
Parameters:
Returns an Array
Method getDefinition()
Return a service definition from the container
Parameters:
Returns a Definition
Method getService()
Return an service by its id
Parameters:
Returns a mixed
Method register()
Register a new service as the specified id
Parameters:
id must be a string.
conf must be an Object.
(the configuration hash for the individual service)
Returns a Definition
Method registerAll()
Register several definitions from an configuration hash (e.g. json)
Parameters:
Returns an Array
(a array of registered definitions)
Determin how service id are distinques of normal string arguments in configuration