1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* @see https://github.com/zendframework/zend-session for the canonical source repository
* @copyright Copyright (c) 2005-2019 Zend Technologies USA Inc. (https://www.zend.com)
* @license https://github.com/zendframework/zend-session/blob/master/LICENSE.md New BSD License
*/
namespace Zend\Session;
use Zend\EventManager\EventManagerInterface;
use Zend\Session\Config\ConfigInterface as Config;
use Zend\Session\SaveHandler\SaveHandlerInterface as SaveHandler;
use Zend\Session\Storage\StorageInterface as Storage;
/**
* Session manager interface
*/
interface ManagerInterface
{
public function setConfig(Config $config);
public function getConfig();
public function setStorage(Storage $storage);
public function getStorage();
public function setSaveHandler(SaveHandler $saveHandler);
public function getSaveHandler();
public function sessionExists();
public function start();
public function destroy();
public function writeClose();
public function setName($name);
public function getName();
public function setId($id);
public function getId();
public function regenerateId();
public function rememberMe($ttl = null);
public function forgetMe();
public function expireSessionCookie();
public function setValidatorChain(EventManagerInterface $chain);
public function getValidatorChain();
public function isValid();
}