MCP PHP SDK

EmptyResult implements ResultInterface

A generic empty result that indicates success but carries no data.

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

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
self

jsonSerialize()

public jsonSerialize() : object
Return values
object

        
On this page

Search results