| 1 | <?php |
||
| 4 | class MemoryStorage implements StorageInterface |
||
| 5 | { |
||
| 6 | private $id; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @inheritDoc |
||
| 10 | */ |
||
| 11 | 8 | public function store($id) |
|
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritDoc |
||
| 18 | */ |
||
| 19 | 6 | public function read() |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritDoc |
||
| 26 | */ |
||
| 27 | 9 | public function exists() |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | 2 | public function clear() |
|
| 39 | } |
||
| 40 |