JsonHttpControllerResponse

Extends \HttpControllerResponse

Class JsonHttpControllerResponse

category

System

package

Http

subpackage

ValueObjects

extends

HttpControllerResponse

Methods

Initializes the http controller response.

__construct(string $responseBody, array $responseHeadersArray = null) 
inherited

Arguments

$responseBody

string

Rendered html markup.

$responseHeadersArray

array

Array which contains information about the http response headers.

Returns the response body string.

getBody() : string
inherited

Response

string

Returns the response headers array.

getHeaders() : array
inherited

Response

array

Properties

httpHeadersArray

httpHeadersArray : array
inherited
var

Type(s)

array

httpBody

httpBody : string
inherited
var

Type(s)

string