W3cubDocs

/Laravel 5.1

Guard

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

void __construct( HttpKernelInterface $app, Encrypter $encrypter)

Create a new CookieGuard instance.

Parameters

HttpKernelInterface $app
Encrypter $encrypter

Return Value

void

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Cookie/Guard.html