class ReadResource implements Method

Methods

__construct(string $uri)

Create a resource read request.

string
method()

Get the resource read method name.

array
params()

Get the requested resource URI.

TResult
handle(Protocol $protocol)

Read and hydrate the resource contents.

Details

at line 19
__construct(string $uri)

Create a resource read request.

Parameters

string $uri

at line 27
string method()

Get the resource read method name.

Return Value

string

at line 37
array params()

Get the requested resource URI.

Return Value

array

at line 45
TResult handle(Protocol $protocol)

Read and hydrate the resource contents.

Parameters

Protocol $protocol

Return Value

TResult