abstract | |
|---|---|
readonly | |
extends |
MetaObject<array<string, mixed>> |
Extends MetaObject with additional result-specific fields.
All key naming rules from MetaObject apply.
| Methods | ||
|---|---|---|
public
|
__construct(?Implementation $serverInfo = null, array<string, mixed> $extras = [])
|
# |
public
|
toArray(): array
|
# |
protected
static
|
splitServerInfo(array<string, mixed> $data): array{(null|Implementation), array<string, mixed>}
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\MetaObject |
|---|
jsonSerialize() |
| Constants | |||
|---|---|---|---|
public
|
string |
SERVER_INFO_KEY = 'io.modelcontextprotocol/serverInfo'
|
# |
| Properties | |||
|---|---|---|---|
public
|
?Implementation
|
$serverInfo
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\MetaObject |
|---|
$extras |