1 | <?php namespace Limoncello\Application\Session; |
||
26 | class Session implements SessionInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var SessionFunctionsInterface |
||
30 | */ |
||
31 | private $functions; |
||
32 | |||
33 | /** |
||
34 | * @param SessionFunctionsInterface $functions |
||
35 | */ |
||
36 | public function __construct(SessionFunctionsInterface $functions) |
||
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | public function getIterator() |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | public function offsetExists($key) |
||
66 | |||
67 | /** |
||
68 | * @inheritdoc |
||
69 | */ |
||
70 | public function offsetGet($key) |
||
78 | |||
79 | /** |
||
80 | * @inheritdoc |
||
81 | */ |
||
82 | public function offsetSet($key, $value) |
||
88 | |||
89 | /** |
||
90 | * @inheritdoc |
||
91 | */ |
||
92 | public function offsetUnset($key) |
||
98 | |||
99 | /** |
||
100 | * @return SessionFunctionsInterface |
||
101 | */ |
||
102 | protected function getFunctions(): SessionFunctionsInterface |
||
106 | } |
||
107 |