Page Contents

Home > @loopback/boot > _bindBooter

_bindBooter() function

Method which binds a given Booter to a given Context with the Prefix and Tags expected by the Bootstrapper

Signature:

export declare function _bindBooter(ctx: Context, booterCls: Constructor<Booter>): Binding;

Parameters

Parameter Type Description
ctx Context The Context to bind the Booter Class
booterCls Constructor<Booter> Booter class to be bound

Returns:

Binding