ResourceListChangedNotification extends Notification
An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.
Tags
Table of Contents
Properties
- $meta : array<string, mixed>|null
Methods
- fromArray() : self
- getMethod() : string
- jsonSerialize() : NotificationData
- fromParams() : Notification
- getParams() : array<string, mixed>|null
Properties
$meta
protected
array<string, mixed>|null
$meta
= null
Methods
fromArray()
public
static fromArray(NotificationData $data) : self
Parameters
- $data : NotificationData
Return values
selfgetMethod()
public
static getMethod() : string
Return values
stringjsonSerialize()
public
jsonSerialize() : NotificationData
Return values
NotificationDatafromParams()
protected
static fromParams(array<string|int, mixed>|null $params) : Notification
Parameters
- $params : array<string|int, mixed>|null
Return values
NotificationgetParams()
protected
getParams() : array<string, mixed>|null