set() set(string $name, mixed $definition) : static Registers a component in the component container Parameters string $name mixed $definition Returns static
setShared() setShared(string $name, mixed $definition) : static Registers an "always shared" component in the components container Parameters string $name mixed $definition Returns static
getDefinitions() getDefinitions(string $pattern = null) : array Match against shell wildcard pattern. Parameters string $pattern Returns array
remove() remove(string $name) : static Removes a component from the components container Parameters string $name Returns static
get() get(string $name, array $parameters = array()) : mixed Resolves the component based on its configuration Parameters string $name array $parameters Returns mixed
getShared() getShared(string $name) : mixed Resolves a shared component based on their configuration Parameters string $name Returns mixed
has() has(string $name) : boolean Check whether the DI contains a component by a name Parameters string $name Returns boolean