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