| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class CacheAdapter implements CacheAdapterInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var PoolInterface |
||
| 22 | */ |
||
| 23 | private $pool; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * FileAdapterInterface constructor. |
||
| 27 | * @param PoolInterface $pool |
||
| 28 | */ |
||
| 29 | 8 | public function __construct( |
|
| 30 | PoolInterface $pool |
||
| 31 | ) { |
||
| 32 | 8 | $this->pool = $pool; |
|
| 33 | 8 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param ItemInterface $item |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | 4 | public function store(ItemInterface $item): void |
|
| 42 | 4 | } |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $path |
||
| 46 | * @return ItemInterface |
||
| 47 | */ |
||
| 48 | 4 | public function retrieve(string $path): ItemInterface |
|
| 51 | } |
||
| 52 | } |
||
| 53 |