| 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 |
|