Set a binding as alias.
AutoBind value to the service container.
Bind a resolver function into the container under the provided key, returning a new instance each time.
Bind a resolver function into the container under the provided key, returning a new instance each time if not already bound.
Check if a value is already bound in the container by its key.
Reset the container so that all bindings are removed.
Resolve a value from the container by its key and return it in a factory function.
Retrieve the value of the aliases property.
Get a binding key by its alias.
Retrieve the value of the bindings property.
Check if a value is already bound in the container by its key.
Bind a single instance or value into the container under the provided key.
Bind a single instance or value into the container under the provided key if not already bound.
Check if an alias exists in the container.
Resolve a registered value from the container by its key.
Resolve a value from the container by its key, binding it if necessary.
Bind a resolver function into the container under the provided key as a singleton.
Bind a resolver function into the container under the provided key as a singleton if not already bound.
Interface representing a Container.
This interface defines the public contract for dependency injection containers, allowing for better testability and preventing circular dependencies.
Author
Mr. Stone evensstone@gmail.com