@loopback/docs
Version:
Documentation for LoopBack 4
35 lines (22 loc) • 888 B
Markdown
lang: en
title: 'API docs: boot._bindbooter'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.boot._bindbooter.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [\_bindBooter](./boot._bindbooter.md)
## \_bindBooter() function
Method which binds a given Booter to a given Context with the Prefix and Tags expected by the Bootstrapper
<b>Signature:</b>
```typescript
export declare function _bindBooter(ctx: Context, booterCls: Constructor<Booter>): Binding;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| ctx | <code>Context</code> | The Context to bind the Booter Class |
| booterCls | <code>Constructor<Booter></code> | Booter class to be bound |
<b>Returns:</b>
`Binding`