final | |
|---|---|
readonly | |
extends |
PaginatedResult<array{_meta?: array<string, mixed>, resources: list<template-type<resource, BaseMetadata, 'T'>>, nextCursor?: non-empty-string}> |
implements |
ServerResult |
The server's response to a resources/list request from the client.
| Methods | ||
|---|---|---|
public
|
__construct(list<resource> $resources, ?string $nextCursor = null, ?array $meta = null)
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Schema\Result\Result |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
list<resource>
|
$resources
|
# |
| Properties inherited from Nexus\Mcp\Schema\Result\PaginatedResult |
|---|
$nextCursor |
| Properties inherited from Nexus\Mcp\Schema\Result\Result |
|---|
$meta |