EmptyResult implements ResultInterface
A generic empty result that indicates success but carries no data.
Tags
Table of Contents
Interfaces
- ResultInterface
- Base class for all specific MCP result objects (the value of the 'result' field).
Methods
- __construct() : mixed
- Create a new EmptyResult.
- fromArray() : self
- jsonSerialize() : object
Methods
__construct()
Create a new EmptyResult.
public
__construct() : mixed
fromArray()
public
static fromArray() : self
Return values
selfjsonSerialize()
public
jsonSerialize() : object