There is only one (shared) instance that is passed during injection.
See Container.singleton to register a shared service.
container.singleton(MyService, [LoggerService]);
A new instance of the class is constructed each time it is injected.
See Container.transient to register a transient service.
container.transient(LoggerService);
Generated using TypeDoc
Defines the lifetime of a service.
See Container.singleton and Container.transient to define which lifetime a class should have.