ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Client
/
Lifecycle
/
Union
/
ClientResultInterface.php
ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Client
/
Lifecycle
/
Union
Last commit date
ClientResultInterface.php
1 month ago
ClientResultInterface.php
31 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace WP\McpSchema\Client\Lifecycle\Union; |
| 6 | |
| 7 | /** |
| 8 | * Union type members: |
| 9 | * - EmptyResult |
| 10 | * - CreateMessageResult |
| 11 | * - ListRootsResult |
| 12 | * - ElicitResult |
| 13 | * - GetTaskResult |
| 14 | * - GetTaskPayloadResult |
| 15 | * - ListTasksResult |
| 16 | * - CancelTaskResult |
| 17 | * |
| 18 | * @mcp-domain Client |
| 19 | * @mcp-subdomain Lifecycle |
| 20 | * @mcp-version 2025-11-25 |
| 21 | */ |
| 22 | interface ClientResultInterface |
| 23 | { |
| 24 | /** |
| 25 | * Converts the instance to an array. |
| 26 | * |
| 27 | * @return array<string, mixed> |
| 28 | */ |
| 29 | public function toArray(): array; |
| 30 | } |
| 31 |