Writes a persistent value to one or more session stores.
public static write ( string $key, mixed $value = null, array $options = [] ) : boolean | ||
$key | string | Key to be written. |
$value | mixed | Data to be stored. |
$options | array | Optional parameters that this method accepts: - `'name'` _string_: To force the write to a specific adapter, specify the name of the configuration (i.e. `'default'`) here. - `'strategies'` _boolean_: Indicates whether or not a configuration's applied strategy classes should be enabled for this operation. Defaults to `true`. |
return | boolean | Returns `true` on successful write, `false` otherwise. |