[HttpFoundation] Move session handler classes.
This commit is contained in:
parent
0a064d8aa1
commit
2257a3d4d6
@ -9,14 +9,14 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Symfony\Component\HttpFoundation\Session\Storage;
|
namespace Symfony\Component\HttpFoundation\Session\Storage\Handler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MemcacheSessionStorage.
|
* MemcacheSessionStorage.
|
||||||
*
|
*
|
||||||
* @author Drak <drak@zikula.org>
|
* @author Drak <drak@zikula.org>
|
||||||
*/
|
*/
|
||||||
class MemcacheSessionStorage extends AbstractSessionStorage implements \SessionHandlerInterface
|
class MemcacheSessionHandler implements \SessionHandlerInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Memcache driver.
|
* Memcache driver.
|
||||||
@ -68,8 +68,6 @@ class MemcacheSessionStorage extends AbstractSessionStorage implements \SessionH
|
|||||||
$this->prefix = isset($memcacheOptions['prefix']) ? $memcacheOptions['prefix'] : 'sf2s';
|
$this->prefix = isset($memcacheOptions['prefix']) ? $memcacheOptions['prefix'] : 'sf2s';
|
||||||
|
|
||||||
$this->memcacheOptions = $memcacheOptions;
|
$this->memcacheOptions = $memcacheOptions;
|
||||||
|
|
||||||
parent::__construct($options);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function addServer(array $server)
|
protected function addServer(array $server)
|
Reference in New Issue
Block a user