| 1 | <?php |
||
| 10 | class NullAdapter implements CacheAdapterInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Gets a cache entry |
||
| 14 | * returning null if not in cache |
||
| 15 | * |
||
| 16 | * @param $key |
||
| 17 | * @return null|mixed |
||
| 18 | */ |
||
| 19 | 3 | public function get($key) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Sets a cache entry |
||
| 26 | * |
||
| 27 | * @param $key |
||
| 28 | * @param $value |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | 1 | public function set($key, $value) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Deletes a cache entry |
||
| 38 | * |
||
| 39 | * @param $key |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | 1 | public function delete($key) |
|
| 46 | } |
||
| 47 |