Reads a value from a persistent session store.
public static read ( string $key = null, array $options = [] ) : mixed | ||
$key | string | Key to be read. |
$options | array | Optional parameters that this method accepts: - `'name'` _string_: To force the read from 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 | mixed | Read result on successful session read, `null` otherwise. |