By default, before writing the data to the session, the set() method of the named
configuration's adapter receives the data to be written, and has an opportunity to modify
or reject it.
public static set ( string $name, array $data, array $options = [] ) : array | ||
$name | string | The name of the adapter configuration to. |
$data | array | The user data to be written to the session. |
$options | array | Any additional session-writing options. These may override any options set by the default session configuration for `$name`. |
return | array | Returns the array of data written to the session, or `false` if the adapter rejects the data. |