interface Method

Methods

string
method()

Get the protocol method name.

array
params()

Get the request parameters.

TResult
handle(Protocol $protocol)

Execute the method through the protocol.

Details

at line 17
string method()

Get the protocol method name.

Return Value

string

at line 24
array params()

Get the request parameters.

Return Value

array

at line 31
TResult handle(Protocol $protocol)

Execute the method through the protocol.

Parameters

Protocol $protocol

Return Value

TResult