static Container setInstance(
void addContextualBinding(string $concrete, string $abstract, Closure|string $implementation)
void flush() Flush the container of all bindings and resolved instances
mixed __get(string $key) Dynamically access container services.
void bind(string|array $abstract, Closure|string|null $concrete = null, bool $shared = false)
mixed offsetGet(string $key) Get the value at a given offset.
void alias(string $abstract, string $alias) Alias a type to a different
Closure factory(string $abstract, array $defaults = array())
$this needs(string $abstract) Define the abstract target that depends on
void __construct(Container $container, string $concrete)
Page 1 of 5