@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 967 B
Markdown
lang: en
title: 'API docs: core.lifecycleobserverregistry.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.core.lifecycleobserverregistry.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/core](./core.md) > [LifeCycleObserverRegistry](./core.lifecycleobserverregistry.md) > [(constructor)](./core.lifecycleobserverregistry.(constructor).md)
## LifeCycleObserverRegistry.(constructor)
Constructs a new instance of the `LifeCycleObserverRegistry` class
<b>Signature:</b>
```typescript
constructor(observersView: ContextView<LifeCycleObserver>, options?: LifeCycleObserverOptions);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| observersView | <code>ContextView<LifeCycleObserver></code> | |
| options | <code>LifeCycleObserverOptions</code> | |