| 1 | <?php |
||
| 6 | class File implements Cacher { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @param string $key File to save the cached data |
||
| 10 | * @param value $value Cached data |
||
| 11 | */ |
||
| 12 | 3 | public function set($key, $value) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $key File to get cached data |
||
| 22 | * @return Mixed False if not cache is found |
||
| 23 | */ |
||
| 24 | 1 | public function get($key) |
|
| 33 | } |