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