void offsetSet(string $key, mixed $value) Set the value at a given offset. Parameters string $key mixed $value Return Value void
bool isAlias(string $name) Determine if a given string is an alias. Parameters string $name Return Value bool
bool isShared(string $abstract) Determine if a given type is shared. Parameters string $abstract Return Value bool
static Container getInstance() Set the globally available instance of the container. Return Value Container
void instance(string $abstract, mixed $instance) Register an existing instance as shared in the container. Parameters string $abstract mixed $instance Return Value void
array getBindings() Get the container's bindings. Return Value array
void forgetInstance(string $abstract) Remove a resolved instance from the instance cache. Parameters string $abstract Return Value void
void flush() Flush the container of all bindings and resolved instances. Return Value void
string getAlias(string $abstract) Get the alias for an abstract if available. Parameters string $abstract Return Value string Exceptions LogicException
Page 793 of 996