ResponseRest
class ResponseRest extends Response
Class ResponseRest Create a serialized Response
Methods
__construct(
array $data = null,
string $format = 'json',
integer $status = 200,
array $headers = array())
Constructor.
$this
setRestContent(
array $data)
Set Content to be serialized in the response, array or object
Details
in
Response at line 32
sendContent()
Allow Tlog to write log stuff in the fina content.
at line 45
__construct(
array $data = null,
string $format = 'json',
integer $status = 200,
array $headers = array())
Constructor.
at line 74
$this
setRestContent(
array $data)
Set Content to be serialized in the response, array or object