MCP PHP SDK

Page extends ArrayObject

FinalYes

Table of Contents

Properties

$nextCursor  : string|null
$references  : array<string|int, mixed>

Methods

__construct()  : mixed
count()  : int

Properties

$nextCursor read-only

public string|null $nextCursor

$references read-only

public array<string|int, mixed> $references

Methods

__construct()

public __construct(array<int|string, PageItem$references, string|null $nextCursor) : mixed
Parameters
$references : array<int|string, PageItem>

Items can be Tool, Prompt, ResourceTemplate, or Resource

$nextCursor : string|null

count()

public count() : int
Return values
int

        
On this page

Search results