PATH:
home
/
thebhoeo
/
.trash
/
backwpup
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Common
/
Protocol
/
DTO
<?php declare(strict_types=1); namespace WP\McpSchema\Common\Protocol\DTO; use WP\McpSchema\Client\Lifecycle\Union\ClientResultInterface; use WP\McpSchema\Server\Lifecycle\Union\ServerResultInterface; /** * A response that indicates success but carries no data. * * This class is a wrapper for {@see Result} that implements union interfaces. * In TypeScript, this is defined as: `type EmptyResult = Result` * * PHP requires actual classes for union interface implementation, so this wrapper * provides type-safe compatibility with: * - {@see ClientResultInterface} * - {@see ServerResultInterface} * * @mcp-domain Common * @mcp-subdomain Protocol * @mcp-version 2025-11-25 */ class EmptyResult extends Result implements ClientResultInterface, ServerResultInterface { // Inherits all functionality from Result. // This wrapper exists solely to implement union interfaces for type safety. }
[-] URLElicitationRequiredError.php
[edit]
[-] PaginatedResult.php
[edit]
[-] EmbeddedResource.php
[edit]
[-] TextResourceContents.php
[edit]
[-] BlobResourceContents.php
[edit]
[-] InitializedNotification.php
[edit]
[-] PingRequest.php
[edit]
[-] ProgressNotification.php
[edit]
[-] GetTaskPayloadResult.php
[edit]
[-] Result.php
[edit]
[-] GetTaskPayloadRequest.php
[edit]
[-] InitializeRequest.php
[edit]
[-] Annotations.php
[edit]
[-] CancelledNotificationParams.php
[edit]
[-] EmptyResult.php
[edit]
[-] InitializeRequestParams.php
[edit]
[-] PaginatedRequest.php
[edit]
[+]
..
[-] GetTaskPayloadRequestParams.php
[edit]
[-] PaginatedRequestParams.php
[edit]
[-] BaseMetadata.php
[edit]
[-] InitializeResult.php
[edit]
[-] ProgressNotificationParams.php
[edit]
[-] CancelledNotification.php
[edit]
[-] Icons.php
[edit]