MCP PHP SDK

HasMethodInterface

Interface for all incoming JSON-RPC messages that should be processed by a handler, and are expected to have a method.

Tags
author

Christopher Hertel mail@christopher-hertel.de

Table of Contents

Methods

fromArray()  : self
getMethod()  : string

Methods

fromArray()

public static fromArray(array<string, mixed> $data) : self
Parameters
$data : array<string, mixed>
Return values
self

        
On this page

Search results