Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcachedSessionHandler::__construct
Constructor.
List of available options: * prefix: The prefix to use for the memcached keys in order to avoid collision * expiretime: The time to live in seconds
Signature
public function __construct(Memcached
$memcached,
array
$options )
Parameters
$memcached
— \Memcached- A \Memcached instance
$options
— array- An associative array of Memcached options
Errors/Exceptions
-
InvalidArgumentException
- When unsupported options are passed