ReadonlyisIndicates that the container has been initialized. Adding new extensions is not possible.
ReadonlyparentParent extension container.
Creates child extension container.
Releases all related objects.
Returns registered extensions list with specified type.
Type of extensions.
Initializes the extension container.
Initialization context.
DI container.
Registers a specific extension in the container.
Registration parameters.
The extension that needs to be registered in the container.
OptionalextensionName?: stringИмя регистрируемого расширения.
OptionalextensionType?: stringТип регистрируемого расширения.
Optionalorder?: numberThe order of execution, taking into account the type of extension and the stage of execution.
Optionalsingleton?: booleanA flag indicating the lifetime of an instance of extensions.
Optionalstage?: ExtensionStageThe stage of the extension execution in the extension chain.
Optionalwhen?: Function or array of functions that accept the context of extension execution and allowing extensions to be performed only under certain conditions. If `true', then the lifetime of the extension instance will coincide with the lifetime of the container.
The current extension container.
Returns an object that performs extensions of the specified type. The method never returns `null'. If the extension type has not been registered in the container, then the method does not throw an exception, but returns an object that does not perform actions.
The type of extension to return the object for.
Optionaloptions: null | ExtensionExecutorOptionsAdditional options for the returned object.
An object that performs extensions of the specified type.
An extension container.