ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Server
/
Lifecycle
/
Union
/
ServerNotificationInterface.php
ameliabooking
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Server
/
Lifecycle
/
Union
Last commit date
ServerNotificationInterface.php
1 month ago
ServerResultInterface.php
1 month ago
ServerNotificationInterface.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace WP\McpSchema\Server\Lifecycle\Union; |
| 6 | |
| 7 | /** |
| 8 | * Union type members: |
| 9 | * - CancelledNotification |
| 10 | * - ProgressNotification |
| 11 | * - LoggingMessageNotification |
| 12 | * - ResourceUpdatedNotification |
| 13 | * - ResourceListChangedNotification |
| 14 | * - ToolListChangedNotification |
| 15 | * - PromptListChangedNotification |
| 16 | * - ElicitationCompleteNotification |
| 17 | * - TaskStatusNotification |
| 18 | * |
| 19 | * @mcp-domain Server |
| 20 | * @mcp-subdomain Lifecycle |
| 21 | * @mcp-version 2025-11-25 |
| 22 | */ |
| 23 | interface ServerNotificationInterface |
| 24 | { |
| 25 | /** |
| 26 | * Converts the instance to an array. |
| 27 | * |
| 28 | * @return array<string, mixed> |
| 29 | */ |
| 30 | public function toArray(): array; |
| 31 | } |
| 32 |