AdminPageHttpControllerResponse

Extends \HttpControllerResponse

Class AdminPageHttpControllerResponse

Important: This class will load the admin section of the shop, something that cannot be integrated into unit tests. That is why it is not unit tested.

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