| Total Complexity | 6 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class PostProcessCache extends Cache implements CacheInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Cache::set() with a forced hash. |
||
| 21 | * |
||
| 22 | * @param string $key |
||
| 23 | * @param mixed $value |
||
| 24 | * @param null|int|\DateInterval $ttl |
||
| 25 | * @param string $hash |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function setWithHash($key, $value, $ttl, string $hash): bool |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Cache::has() with a forced hash. |
||
| 48 | * |
||
| 49 | * @param string $key |
||
| 50 | * @param string $hash |
||
| 51 | * |
||
| 52 | * @return bool |
||
| 53 | */ |
||
| 54 | public function hasWithHash(string $key, string $hash): bool |
||
| 63 |