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

View File

@@ -48,6 +48,21 @@ return [
'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