class RequestParamsHeaderDescriptor (View source)

Encapsulates request params header metadata.

Constants

HEADER_KEY

Methods

__construct(array $requestParams)

RequestParamsHeaderDescriptor constructor.

array
getHeader()

Returns an associative array that contains request params header metadata.

Details

__construct(array $requestParams)

RequestParamsHeaderDescriptor constructor.

Parameters

array $requestParams

An associative array which contains request params header data in a form ['field_name.subfield_name' => value].

array getHeader()

Returns an associative array that contains request params header metadata.

Return Value

array