---
lang: en
title: 'API docs: context.context.setupconfigurationresolverifneeded'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.context.setupconfigurationresolverifneeded.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [Context](./context.context.md) &gt; [setupConfigurationResolverIfNeeded](./context.context.setupconfigurationresolverifneeded.md)

## Context.setupConfigurationResolverIfNeeded() method

Set up the configuration resolver if needed

<b>Signature:</b>

```typescript
protected setupConfigurationResolverIfNeeded(): ConfigurationResolver;
```
<b>Returns:</b>

`ConfigurationResolver`


