Factory function used to initialize this service. Can be regular function ('createCar' for example), or other service which produces this instance ([CarFactory, 'createCar'] for example).
Indicates if this service must be global and same instance must be used across all containers.
Service unique identifier.
Allows to setup multiple instances the different classes under a single service id string or token.
Indicates if instance of this class must be created on each its request. Global option is ignored when this option is used.
Class type of the registering service. Can be omitted only if instance is set. If id is not set then it serves as service id.
Instance of the target class.
Generated using TypeDoc
Service metadata is used to initialize service and store its state.