| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | interface CacheAdapterInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @param string $id |
||
| 21 | * |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | public function has($id); |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $id |
||
| 28 | * |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | public function get($id); |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $id |
||
| 35 | * @param mixed $data |
||
| 36 | * @param int $lifeTime |
||
| 37 | * |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function set($id, $data, $lifeTime = 0); |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $id |
||
| 44 | * |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | public function remove($id); |
||
| 48 | } |
||
| 49 |