final | |
|---|---|
readonly | |
implements |
NotificationHandlerInterface<'notifications/message'> |
Adapts a closure into a notifications/message handler, so consumers can
register a callback instead of an interface implementation.
| Methods | ||
|---|---|---|
public
|
__construct(Closure(LoggingMessageNotification): void $listener)
|
# |
public
|
handle(JsonRpcNotification $notification): void
|
# |