class JsonResponse extends JsonResponse

Class JsonResponse

Methods

static 
createError($errorMessage, $statusCode = 500)

No description

static 
createAuthError($access)

No description

static 
createNotFoundError($resource)

No description

Details

at line 26
static createError($errorMessage, $statusCode = 500)

Parameters

$errorMessage
$statusCode

at line 31
static createAuthError($access)

Parameters

$access

at line 59
static createNotFoundError($resource)

Parameters

$resource