EncryptCookies (Cookie\Middleware)
EncryptCookies
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
void __construct( Encrypter $encrypter)
Create a new CookieGuard instance.
void disableFor( string|array $cookieName)
Disable encryption for the given cookie name(s).
bool isDisabled( string $name)
Determine whether encryption has been disabled for the given cookie.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Cookie/Middleware/EncryptCookies.html