phpDocumentor

HttpControllerResponse
in package
implements HttpControllerResponseInterface

Class HttpControllerResponse

Tags
category

System

subpackage

ValueObjects

extends

HttpControllerResponseInterface

Interfaces, Classes and Traits

HttpControllerResponseInterface
Interface HttpControllerResponseInterface

Table of Contents

$httpBody  : string
$httpHeadersArray  : array<string|int, mixed>
__construct()  : mixed
Initializes the http controller response.
getBody()  : string
Returns the response body string.
getHeaders()  : array<string|int, mixed>
Returns the response headers array.

Properties

Methods

__construct()

Initializes the http controller response.

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

Rendered html markup.

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

Array which contains information about the http response headers.

Return values
mixed

getHeaders()

Returns the response headers array.

public getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results