phpDocumentor

JsonHttpControllerResponseServerData extends JsonHttpControllerResponseServerData_parent
in package

Table of Contents

__construct()  : mixed
Initializes the json http controller response.

Methods

__construct()

Initializes the json http controller response.

public __construct(array<string|int, mixed> $contentArray[, array<string|int, mixed> $responseHeadersArray = null ]) : mixed
Parameters
$contentArray : array<string|int, mixed>

Array which will be encoded in json format.

$responseHeadersArray : array<string|int, mixed> = null

Array which contains information about the http response headers.

Return values
mixed

Search results