class EncryptCookies (View source)

Methods

void
__construct( Encrypter $encrypter)

Create a new CookieGuard instance.

void
disableFor( string|array $cookieName)

Disable encryption for the given cookie name(s).

mixed
handle( Request $request, Closure $next)

Handle an incoming request.

bool
isDisabled( string $name)

Determine whether encryption has been disabled for the given cookie.

Details

at line line 34
void __construct( Encrypter $encrypter)

Create a new CookieGuard instance.

Parameters

Encrypter $encrypter

Return Value

void

at line line 45
void disableFor( string|array $cookieName)

Disable encryption for the given cookie name(s).

Parameters

string|array $cookieName

Return Value

void

at line line 57
mixed handle( Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

at line line 159
bool isDisabled( string $name)

Determine whether encryption has been disabled for the given cookie.

Parameters

string $name

Return Value

bool