\App\HelpersResponseHelpers

Summary

Methods
Properties
Constants
jsonSuc()
jsonErr()
result()
contentToArray()
No public properties found
No constants found
No protected methods found
$success
$successCode
$error
$errorCode
N/A
No private methods found
No private properties found
N/A

Properties

$success

$success : 

Type

$successCode

$successCode : 

Type

$error

$error : 

Type

$errorCode

$errorCode : 

Type

Methods

jsonSuc()

jsonSuc(array  $option = array()) : \Illuminate\Http\JsonResponse

Parameters

array $option

Returns

\Illuminate\Http\JsonResponse

jsonErr()

jsonErr(array  $option = array()) : \Illuminate\Http\JsonResponse

Parameters

array $option

Returns

\Illuminate\Http\JsonResponse

result()

result(  $result,   $data = array()) 

Parameters

$result
$data

contentToArray()

contentToArray(\App\Helpers\string  $content) 

Parameters

\App\Helpers\string $content