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