Scope
Represents a lexical scope that holds and manages dependency instances. Scopes can be nested to create a hierarchy, allowing for managing dependencies with different lifecycles. Instances resolved in a child scope can access dependencies from its parent scope.
Inheritors
Functions
Resolves and returns a dependency instance that matches the given qualifier. If the instance is a singleton and already created, it returns the cached instance. If it's a factory, a new instance is created on each call. If the instance is not found in the current scope, it will search in the parent scope.
Retrieves a direct child scope identified by the given qualifier.
Registers one or more DependencyModules into the scope. This populates the scope with the necessary factories to create dependency instances.
Navigates through the scope hierarchy and returns a descendant scope specified by the path. The path is resolved from the current scope downwards.