Set the serialization

This commit is contained in:
snipe 2019-05-22 00:51:43 -07:00
parent 57e80ee317
commit bfb910f375

View file

@ -6,6 +6,8 @@ use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter class EncryptCookies extends BaseEncrypter
{ {
/** /**
* The names of the cookies that should not be encrypted. * The names of the cookies that should not be encrypted.
* *
@ -14,4 +16,13 @@ class EncryptCookies extends BaseEncrypter
protected $except = [ protected $except = [
// //
]; ];
/**
* Indicates if cookies should be serialized.
*
* @var bool
*/
protected static $serialize = true;
} }