Trait PropsGettersSetters
Direct Known Users
MvcCore\Response
public
string
|
|
public
|
|
public
|
|
public
integer
|
|
public
|
|
public
string|null
|
|
public
boolean
|
|
public
boolean
|
protected static
array
|
$codeMessages
|
#
[
\MvcCore\IResponse::OK => 'OK',
\MvcCore\IResponse::MOVED_PERMANENTLY => 'Moved Permanently',
\MvcCore\IResponse::SEE_OTHER => 'See Other',
\MvcCore\IResponse::NOT_FOUND => 'Not Found',
\MvcCore\IResponse::INTERNAL_SERVER_ERROR => 'Internal Server Error',
]
|
protected
string|null
|
$httpVersion
Response HTTP protocol version by |
#
NULL
|
protected
integer|null
|
$code
Response HTTP code.
Example: |
#
NULL
|
protected
string|null
|
$codeMessage
Optional response HTTP code message. |
#
NULL
|
protected
string[]
|
$headers
Response HTTP headers as |
#
[]
|
protected
string|null
|
$encoding
Response content encoding.
Example: |
#
NULL
|
protected
string|null
|
$body
Response HTTP body.
Example: |
#
NULL
|
protected
boolean
|
$bodySent
|
#
FALSE
|
protected
array
|
$disabledHeaders
Disabled headers, never sent except if there is rendered exception in development environment. |
#
[]
|
protected
|
$request
Reference to current application request object. |
#
NULL
|