$supportedKeys
$supportedKeys : array
Supported variable key name.
Storage engine using Session.
$supportedKeys : array
Supported variable key name.
get(mixed $key, mixed $default = false) : \mix
Get the variable value specified by the variable key name for current session user from the storage system.
mixed | $key | Variable key name |
mixed | $default | Default value if the key couldn't be found |
Returns the value for the specified key if it exists, otherwise return $default value
set(mixed $key, mixed $value) : bool
Save the variable item specified by the variable key name into the storage system for current session user.
mixed | $key | Variable key name |
mixed | $value | Variable value |
Returns true if the saving operation is success, otherwise returns false
Loading…