document json session serialization (#5787)

This commit is contained in:
Taylor Otwell 2022-02-01 11:42:34 -06:00 committed by GitHub
parent 54a249cd3c
commit d43dcb1c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -48,6 +48,21 @@
'encrypt' => false,
/*
|--------------------------------------------------------------------------
| Session Serialization
|--------------------------------------------------------------------------
|
| The session serialization strategy determines how the array of session
| data will get serialized into a string for storage. Typically, JSON
| serialization will be fine unless PHP objects are in the session.
|
| Supported: "json", "php"
|
*/
'serialization' => 'json',
/*
|--------------------------------------------------------------------------
| Session File Location