Container::make()

mixed make(string $abstract, array $parameters = array()) Resolve the given type from the container. Parameters string $abstract array $parameters Return Value mixed

Container::isShared()

bool isShared(string $abstract) Determine if a given type is shared. Parameters string $abstract Return Value bool

Container::isAlias()

bool isAlias(string $name) Determine if a given string is an alias. Parameters string $name Return Value bool

Container::instance()

void instance(string $abstract, mixed $instance) Register an existing instance as shared in the container. Parameters string $abstract mixed $instance Return Value void

Container::instance()

void instance(string $abstract, mixed $instance) Register an existing instance as shared in the container. Parameters string $abstract mixed $instance Return Value void

Container::getInstance()

static Container getInstance() Set the globally available instance of the container. Return Value Container

Container::getBindings()

array getBindings() Get the container's bindings. Return Value array

Container::getAlias()

string getAlias(string $abstract) Get the alias for an abstract if available. Parameters string $abstract Return Value string Exceptions LogicException

Container::forgetInstances()

void forgetInstances() Clear all of the instances from the container. Return Value void

Container::forgetInstance()

void forgetInstance(string $abstract) Remove a resolved instance from the instance cache. Parameters string $abstract Return Value void