| 1 | <?php |
||
| 8 | class Psr6CacheStorage implements CacheStorageInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var CacheItemPoolInterface |
||
| 12 | */ |
||
| 13 | protected $cachePool; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param CacheItemPoolInterface $cachePool |
||
| 17 | */ |
||
| 18 | public function __construct(CacheItemPoolInterface $cachePool) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | public function fetch($key) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function save($key, CacheEntry $data) |
||
| 51 | } |
||
| 52 |