Decorator for setting the scope of a class when registering.
@Scoped(Scope.Container)class Wizard {}container.register(Wizard);// Under the hoodcontainer.register( Wizard, {useClass: Wizard}, {scope: Scope.Container},); Copy
@Scoped(Scope.Container)class Wizard {}container.register(Wizard);// Under the hoodcontainer.register( Wizard, {useClass: Wizard}, {scope: Scope.Container},);
@NO_SIDE_EFFECTS
Decorator for setting the scope of a class when registering.