1 | <?php |
||
7 | class NullCache implements SimpleCacheInterface |
||
8 | { |
||
9 | /** |
||
10 | * Test for an entry from the cache |
||
11 | * @param string $key |
||
12 | * @return boolean |
||
13 | */ |
||
14 | public function has($key) |
||
18 | |||
19 | /** |
||
20 | * Get an entry from the cache |
||
21 | * @param string $key |
||
22 | * @return array |
||
23 | */ |
||
24 | public function get($key) |
||
28 | |||
29 | /** |
||
30 | * Store an entry in the cache |
||
31 | * @param string $key |
||
32 | * @param array $data |
||
33 | */ |
||
34 | public function set($key, $data) |
||
37 | } |
||
38 |