JsonResponse
in package
implements
IResponse
FinalYes
Table of Contents
Interfaces
Properties
- $phalconResponse : Response
Methods
- __construct() : mixed
- JsonResponse constructor.
- send() : object
Properties
$phalconResponse
private
Response
$phalconResponse
Methods
__construct()
JsonResponse constructor.
public
__construct(Response $phalconResponse) : mixed
Parameters
- $phalconResponse : Response
send()
public
send([mixed $data = null ][, int $statusCode = 200 ][, string|null $message = null ][, bool $isError = false ]) : object
Parameters
- $data : mixed = null
- $statusCode : int = 200
- $message : string|null = null
- $isError : bool = false