class RequestAdapter

This basic RequestAdapter assumes the keys are part of the url or the query string and therefore available as properties of the request.

Properties

$request

Methods

__construct( Request $request)

No description

boolean
hasKey( String $key)

Check if a given key exists in the request.

mixed
getValueByKey( String $key)

Get the value for a given key.

array
getPayload()

Get the request payload.

Details

at line line 15
__construct( Request $request)

Parameters

Request $request

at line line 26
boolean hasKey( String $key)

Check if a given key exists in the request.

Parameters

String $key The key to check for

Return Value

boolean

at line line 37
mixed getValueByKey( String $key)

Get the value for a given key.

Parameters

String $key

Return Value

mixed

at line line 47
array getPayload()

Get the request payload.

Return Value

array