Documentation

JsonResponse
in package
implements IResponse

FinalYes

Table of Contents

Interfaces

IResponse

Properties

$phalconResponse  : Response

Methods

__construct()  : mixed
JsonResponse constructor.
send()  : object

Properties

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
Return values
object

        
On this page

Search results