Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
InfyOm
Generator
Utils
ResponseUtil
PHP Class InfyOm\Generator\Utils\ResponseUtil
Show file
Open project: infyomlabs/laravel-generator
Class Usage Examples
Public Methods
Method
Description
makeError
(
string
$message
,
array
$data
= [] ) :
array
makeResponse
(
string
$message
,
mixed
$data
) :
array
Method Details
makeError()
public
static
method
public
static
makeError
(
string
$message
,
array
$data
= [] ) :
array
$message
string
$data
array
return
array
makeResponse()
public
static
method
public
static
makeResponse
(
string
$message
,
mixed
$data
) :
array
$message
string
$data
mixed
return
array