PHP Class InfyOm\Generator\Utils\ResponseUtil

ファイルを表示 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