method ScopeManager.prototype.setScoped ScopeManager.prototype.setScoped(token: string,instance: unknown): void Stores a scoped instance (local to this scope). Parameters token: string The capability token instance: unknown The instance to cache Return Type void