HttpControllerResponse

Implements \HttpControllerResponseInterface

Class HttpControllerResponse

category

System

package

Http

subpackage

ValueObjects

extends

HttpControllerResponseInterface

Methods

Initializes the http controller response.

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

Arguments

$responseBody

string

Rendered html markup.

$responseHeadersArray

array

Array which contains information about the http response headers.

Returns the response body string.

getBody() : string

Response

string

Returns the response headers array.

getHeaders() : array

Response

array

Properties

httpHeadersArray

httpHeadersArray : array
var

Type(s)

array

httpBody

httpBody : string
var

Type(s)

string