final | |
|---|---|
readonly | |
extends |
NotificationParams<array{_meta?: template-type<MetaObject, Arrayable, 'T'>, requestId: (int|non-empty-string), reason?: non-empty-string}> |
Parameters for a notifications/cancelled notification.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $requestId, ?string $reason = null, MetaObject $meta = new MetaObject())
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
null|non-empty-string
|
$reason
|
# |
public
|
RequestId
|
$requestId
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\NotificationParams |
|---|
$meta |