Page Contents

Home > @loopback/context > Binding > (constructor)

Binding.(constructor)

Constructs a new instance of the Binding class

Signature:

constructor(key: BindingAddress<T>, isLocked?: boolean);

Parameters

Parameter Type Description
key [BindingAddress](/doc/en/lb4/apidocs.context.bindingaddress.html)<T>
isLocked boolean _(Optional)_