Page Contents
Home > @loopback/core > LifeCycleObserverRegistry > getObserverGroup
LifeCycleObserverRegistry.getObserverGroup() method
Get the group for a given life cycle observer binding
Signature:
protected getObserverGroup(binding: Readonly<Binding<LifeCycleObserver>>): string;
Parameters
| Parameter | Type | Description |
|---|---|---|
| binding | Readonly<[Binding](/doc/en/lb4/apidocs.context.binding.html)<[LifeCycleObserver](/doc/en/lb4/apidocs.core.lifecycleobserver.html)>> | Life cycle observer binding |
Returns:
string