Methods
__construct()
__construct($config)
validate a driver config value
_validate_config(array $config) : array
Parameters
$config
array
array with configuration values
Exceptions
Returns
array
validated and consolidated config
destroy the current session
destroy() : \Fuel\Core\Session_Memcached
fluent |
This method is part of a fluent interface and will return the same instance |
Exceptions
Returns
Reads the memcached entry
_read_memcached($session_id) : mixed
Parameters
$session_id
Returns
mixed
the payload if the file exists, or false if not
Writes the memcached entry
_write_memcached($session_id, $payload)
Parameters
$session_id
$payload
Exceptions
driver initialisation
init()
read the session
read(bool $force) : \Session_Driver
Parameters
$force
bool
set to true if we want to force a new session to be created
Returns
\Session_Driver
write the session
write() : \Session_Memcached
Returns
\Session_Memcached
Properties
array of driver config defaults
$_defaults