1 | <?php |
||
12 | final class DoctrineCacheSessionHandler implements \SessionHandlerInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var Cache |
||
16 | */ |
||
17 | private $cache; |
||
18 | |||
19 | /** |
||
20 | * @param Cache $cache |
||
21 | */ |
||
22 | 11 | public function __construct(Cache $cache) |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 1 | public function close() |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 2 | public function destroy($session_id) |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | 1 | public function gc($maxlifetime) |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 1 | public function open($save_path, $name) |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | 2 | public function read($session_id) |
|
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | 2 | public function write($session_id, $session_data) |
|
74 | } |
||
75 |