| 1 | <?php |
||
| 19 | class SessionStorage implements StorageInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var SessionInterface |
||
| 23 | */ |
||
| 24 | private $session; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param SessionInterface $session |
||
| 28 | */ |
||
| 29 | 5 | public function __construct(SessionInterface $session) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 1 | public function offsetExists($offset) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | 1 | public function offsetGet($offset) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | 1 | public function offsetSet($offset, $value) |
|
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritdoc} |
||
| 60 | */ |
||
| 61 | 1 | public function offsetUnset($offset) |
|
| 65 | } |
||
| 66 |