| 1 | <?php |
||
| 12 | class NullCacheAdapter extends AbstractCacheAdapter |
||
| 13 | { |
||
| 14 | protected $cache = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param $key |
||
| 18 | * @param $options |
||
| 19 | * @return bool |
||
| 20 | */ |
||
| 21 | 9 | public function has($key, $options = null) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param $key |
||
| 28 | * @param $options |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | 6 | public function fetch($key, $options = null) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param $key |
||
| 41 | * @param $data |
||
| 42 | * @param $lifeTime |
||
| 43 | * @param $options |
||
| 44 | * @return bool |
||
| 45 | */ |
||
| 46 | 8 | public function store($key, $data, $lifeTime = null, $options = null) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @param $key |
||
| 55 | * @param $options |
||
| 56 | * @return bool |
||
| 57 | */ |
||
| 58 | 2 | public function remove($key, $options = null) |
|
| 63 | } |
||
| 64 |