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