class Guard implements HttpKernelInterface (View source)

Methods

void
__construct( HttpKernelInterface $app, Encrypter $encrypter)

Create a new CookieGuard instance.

Response
handle( Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true)

Handle the given request and get the response.

Details

at line line 33
void __construct( HttpKernelInterface $app, Encrypter $encrypter)

Create a new CookieGuard instance.

Parameters

HttpKernelInterface $app
Encrypter $encrypter

Return Value

void

at line line 49
Response handle( Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true)

Handle the given request and get the response.

Parameters

Request $request
int $type
bool $catch

Return Value

Response