type of the context which cane be used for scoping.
Creates a new, empty container.
Retrieves an instantiated injectable, recursively instantiating dependencies if they were not instantiated before.
type a constructed instance will have.
Either a raw string name or a nameable value that should be retrieved. See {@link #registerInjectable} for details.
Context to be used for instance checks. See Scope for details.
instantiated injectable for the given name.
Checks if an injectable with the name provided is registered for this container, regardless if its instantiated or not. To check if an injectable is registered and instantiated, see {@link #hasInjectableInstance}.
Either a raw string name or a nameable value that should be checked for. See {@link #registerInjectable} for details.
if an injectable with the name provided is registered on this container.
Checks if an injectable with the name provided is registered and instantiated for this container. To check if an injectable is registered without checking for instantiation, see {@link #hasInjectable}.
Either a raw string name or a nameable value that should be checked for. See {@link #registerInjectable} for details.
Context to be used for instance checks. See Scope for details.
if an injectable with the name provided is registered and instantiated on this container.
Registers a new injectable on this container.
type a constructed instance will have.
type of the provided initializer.
should not be set explicitly usually. Type of the dependencies used by this injectable.
Initial value of this injectable. This can be any value, but usually a class or a different kind of function. During retrieval, the initial value might be transformed by the factory (see Factory for details). If no name is provided in the options (see description of the options parameter, section "name"), a name will be determined from the initializer through {@link getName}. or a value which is nameable. For details on nameable values see {@link getName}.
Options for this injectable. The following options exist:
Generated using TypeDoc
Injectable container class.