Container
interface Container (View source)
Methods
bool bound(string $abstract) Determine if the given abstract type has been bound. void alias(string $abstract, string $alias) Alias a type to a different name. void tag(array|string $abstracts, array|mixed $tags) Assign a set of tags to a given binding. array tagged(array $tag) Resolve all of the bindings for a given tag. void bind(string|array $abstract, Closure|string|null $concrete = null, bool $shared = false) Reg