1 | <?php |
||
8 | class Psr16CacheStorage implements CacheStorageInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var CacheInterface |
||
12 | */ |
||
13 | private $cache; |
||
14 | |||
15 | public function __construct(CacheInterface $cache) |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public function fetch($key) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function save($key, CacheEntry $data) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function delete($key) |
||
48 | } |
||
49 |