1 | <?php |
||
9 | class StackSessionHandler implements |
||
10 | ExistenceAwareInterface, |
||
11 | SessionHandlerInterface |
||
12 | { |
||
13 | /** |
||
14 | * The handler instances. |
||
15 | * |
||
16 | * @var iterable<string,\SessionHandlerInterface> |
||
17 | */ |
||
18 | protected $handlers; |
||
19 | |||
20 | /** |
||
21 | * Create a new stack handler instance. |
||
22 | * |
||
23 | * @param iterable<string,\SessionHandlerInterface> $handlers |
||
|
|||
24 | */ |
||
25 | public function __construct(iterable $handlers) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function open($savePath, $sessionName) |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function close() |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function read($sessionId) |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function write($sessionId, $data) |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function destroy($sessionId) |
||
99 | |||
100 | /** |
||
101 | * {@inheritdoc} |
||
102 | */ |
||
103 | public function gc($maxlifetime) |
||
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | */ |
||
117 | public function setExists($value) |
||
129 | |||
130 | protected function apply(Closure $callback): void |
||
136 | } |
||
137 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.