PartKeepr\SetupBundle\Controller\SetupBaseController::getAuthKeyErrorResponse PHP Method

getAuthKeyErrorResponse() protected method

protected getAuthKeyErrorResponse ( )
    protected function getAuthKeyErrorResponse()
    {
        $response['success'] = false;
        $response['message'] = 'Invalid Authentication Key';
        $response['errors'] = [];
        return new JsonResponse($response);
    }