$mbRequest
$mbRequest : \MocaBonita\tools\MbRequest
Stores the current MbRequest of the request
Main class of the MocaBonita Response
$mbRequest : \MocaBonita\tools\MbRequest
Stores the current MbRequest of the request
$mbAudit : \MocaBonita\audit\MbAudit
Stores the current audit
getMbRequest() : \MocaBonita\tools\MbRequest
Get MbRequest
setMbRequest(\MocaBonita\tools\MbRequest $mbRequest) : \MocaBonita\tools\MbResponse
Set MbRequest to Controller
\MocaBonita\tools\MbRequest | $mbRequest |
getMbAudit() : \MocaBonita\audit\MbAudit
setMbAudit(\MocaBonita\audit\MbAudit $mbAudit) : \MocaBonita\tools\MbResponse
\MocaBonita\audit\MbAudit | $mbAudit |
setBuffer(boolean $buffer) : \MocaBonita\tools\MbResponse
boolean | $buffer |
setContent(mixed $content) : \MocaBonita\tools\MbResponse
Set the content on the response.
mixed | $content |
create(mixed $content = '', integer $status = 200, array $headers = array()) : \MocaBonita\tools\MbResponse
Factory method for chainability.
Example:
return Response::create($body, 200)
->setSharedMaxAge(300);
mixed | $content | The response content, see setContent() |
integer | $status | The response status code |
array | $headers | An array of response headers |