Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Indatus
Ranger
ApiDatabase
ResponseHandler
PHP Class Indatus\Ranger\ApiDatabase\ResponseHandler
Exibir arquivo
Open project: indatus/ranger
Public Methods
Method
Description
error
(
$error_message
= 'this entity does not exist',
$status_code
= 404 )
success
(
array
$data
,
$status_code
= 200 )
Method Details
error()
public
method
public
error
(
$error_message
= 'this entity does not exist',
$status_code
= 404 )
success()
public
method
public
success
(
array
$data
,
$status_code
= 200 )
$data
array