@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (19 loc) • 789 B
Markdown
lang: en
title: 'API docs: rest.getfromcontextprovider.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.getfromcontextprovider.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [GetFromContextProvider](./rest.getfromcontextprovider.md) > [(constructor)](./rest.getfromcontextprovider.(constructor).md)
## GetFromContextProvider.(constructor)
Constructs a new instance of the `GetFromContextProvider` class
<b>Signature:</b>
```typescript
constructor(context: Context);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| context | <code>Context</code> | |