HasMethodInterface
Interface for all incoming JSON-RPC messages that should be processed by a handler, and are expected to have a method.
Tags
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
selfgetMethod()
public
static getMethod() : string