Class ContainerBlueprint

Blueprint for newly-created containers.

This is used to allow global helpers like @Singleton() or @CLIDirective() while still supporting multiple global Container instances at once.

Hierarchy

  • ContainerBlueprint

Constructors

Properties

constructableFactories: Collection<any> = ...
factories: Collection<(() => AbstractFactory<any>)> = ...
resolutionCallbacks: Collection<{
    callback: ContainerResolutionCallback<any>;
    key: any;
}> = ...

Methods

  • Get an array of static Factory classes that need to be instantiated by the container itself.

    Returns any[]