Page Contents
Home > @loopback/context > Binding > inScope
Binding.inScope() method
Set the binding scope
Signature:
inScope(scope: BindingScope): this;
Parameters
| Parameter | Type | Description |
|---|---|---|
| scope | [BindingScope](/doc/en/lb4/apidocs.context.bindingscope.html) | Binding scope |
Returns:
this