1 | <?php |
||
11 | class NullCache implements Cache { |
||
12 | |||
13 | /** |
||
14 | * @since 1.1 |
||
15 | * |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | 1 | public function fetch( $id ) { |
|
21 | |||
22 | /** |
||
23 | * @since 1.1 |
||
24 | * |
||
25 | * {@inheritDoc} |
||
26 | */ |
||
27 | 3 | public function contains( $id ) { |
|
30 | |||
31 | /** |
||
32 | * @since 1.1 |
||
33 | * |
||
34 | * {@inheritDoc} |
||
35 | */ |
||
36 | public function save( $id, $data, $ttl = 0 ) {} |
||
37 | |||
38 | /** |
||
39 | * @since 1.1 |
||
40 | * |
||
41 | * {@inheritDoc} |
||
42 | */ |
||
43 | public function delete( $id ) {} |
||
44 | |||
45 | /** |
||
46 | * @since 1.1 |
||
47 | * |
||
48 | * {@inheritDoc} |
||
49 | */ |
||
50 | 1 | public function getStats() { |
|
53 | |||
54 | /** |
||
55 | * @since 1.2 |
||
56 | * |
||
57 | * {@inheritDoc} |
||
58 | */ |
||
59 | 1 | public function getName() { |
|
62 | |||
63 | } |
||
64 |