| @@ 92-100 (lines=9) @@ | ||
| 89 | * @param \Psr\Cache\CacheItemInterface $item |
|
| 90 | * @return null|array |
|
| 91 | */ |
|
| 92 | protected function driverRead(CacheItemInterface $item) |
|
| 93 | { |
|
| 94 | $val = $this->instance->get($item->getKey()); |
|
| 95 | if ($val == false) { |
|
| 96 | return null; |
|
| 97 | } else { |
|
| 98 | return $this->decode($val); |
|
| 99 | } |
|
| 100 | } |
|
| 101 | ||
| 102 | /** |
|
| 103 | * @param \Psr\Cache\CacheItemInterface $item |
|
| @@ 95-103 (lines=9) @@ | ||
| 92 | * @param \Psr\Cache\CacheItemInterface $item |
|
| 93 | * @return null|array |
|
| 94 | */ |
|
| 95 | protected function driverRead(CacheItemInterface $item) |
|
| 96 | { |
|
| 97 | $val = $this->instance->get($item->getKey()); |
|
| 98 | if ($val == false) { |
|
| 99 | return null; |
|
| 100 | } else { |
|
| 101 | return $this->decode($val); |
|
| 102 | } |
|
| 103 | } |
|
| 104 | ||
| 105 | /** |
|
| 106 | * @param \Psr\Cache\CacheItemInterface $item |
|
| @@ 91-99 (lines=9) @@ | ||
| 88 | * @param \Psr\Cache\CacheItemInterface $item |
|
| 89 | * @return null|array |
|
| 90 | */ |
|
| 91 | protected function driverRead(CacheItemInterface $item) |
|
| 92 | { |
|
| 93 | $val = $this->instance->get($item->getKey()); |
|
| 94 | if ($val == false) { |
|
| 95 | return null; |
|
| 96 | } else { |
|
| 97 | return $this->decode($val); |
|
| 98 | } |
|
| 99 | } |
|
| 100 | ||
| 101 | /** |
|
| 102 | * @param \Psr\Cache\CacheItemInterface $item |
|
| @@ 92-101 (lines=10) @@ | ||
| 89 | * @param \Psr\Cache\CacheItemInterface $item |
|
| 90 | * @return null|array |
|
| 91 | */ |
|
| 92 | protected function driverRead(CacheItemInterface $item) |
|
| 93 | { |
|
| 94 | $val = $this->instance->get($item->getKey()); |
|
| 95 | ||
| 96 | if ($val === false) { |
|
| 97 | return null; |
|
| 98 | } else { |
|
| 99 | return $val; |
|
| 100 | } |
|
| 101 | } |
|
| 102 | ||
| 103 | /** |
|
| 104 | * @param \Psr\Cache\CacheItemInterface $item |
|
| @@ 99-108 (lines=10) @@ | ||
| 96 | * @param \Psr\Cache\CacheItemInterface $item |
|
| 97 | * @return null|array |
|
| 98 | */ |
|
| 99 | protected function driverRead(CacheItemInterface $item) |
|
| 100 | { |
|
| 101 | $val = $this->instance->get($item->getKey()); |
|
| 102 | ||
| 103 | if ($val === false) { |
|
| 104 | return null; |
|
| 105 | } else { |
|
| 106 | return $val; |
|
| 107 | } |
|
| 108 | } |
|
| 109 | ||
| 110 | /** |
|
| 111 | * @param \Psr\Cache\CacheItemInterface $item |
|