class RedirectSecurityException extends AlligatorSecurityException implements HttpExceptionInterface

Class NoProductPermissionException

Constants

ALLIGATOR_REDIRECT

Default http code for redirect security exception

Properties

protected int $statusCode from AlligatorException

Methods

JsonResponse
getResponse()

No description

__construct(int $statusCode = self::ALLIGATOR_REDIRECT, string $message = "You will be redirected", Exception $previous = null, array $headers = array(), int $code = 0)

No description

string
getStatusCode()

No description

array
getHeaders()

No description

setResponse(mixed $response)

No description

Details

at line 72
JsonResponse getResponse()

Return Value

JsonResponse

at line 43
__construct(int $statusCode = self::ALLIGATOR_REDIRECT, string $message = "You will be redirected", Exception $previous = null, array $headers = array(), int $code = 0)

Parameters

int $statusCode
string $message
Exception $previous
array $headers
int $code

at line 56
string getStatusCode()

Return Value

string

at line 64
array getHeaders()

Return Value

array

at line 80
setResponse(mixed $response)

Parameters

mixed $response