Total Complexity | 6 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class VoidCache extends CacheProvider |
||
11 | { |
||
12 | /** |
||
13 | * {@inheritDoc} |
||
14 | */ |
||
15 | protected function doFetch($id) |
||
16 | { |
||
17 | return false; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * {@inheritDoc} |
||
22 | */ |
||
23 | protected function doContains($id) |
||
24 | { |
||
25 | return false; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * {@inheritDoc} |
||
30 | */ |
||
31 | protected function doSave($id, $data, $lifeTime = 0) |
||
34 | 4 | } |
|
35 | |||
36 | 4 | /** |
|
37 | * {@inheritDoc} |
||
38 | */ |
||
39 | protected function doDelete($id) |
||
42 | 2 | } |
|
43 | |||
44 | 2 | /** |
|
45 | * {@inheritDoc} |
||
46 | */ |
||
47 | protected function doFlush() |
||
50 | 1 | } |
|
51 | |||
52 | 1 | /** |
|
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | protected function doGetStats() |
||
58 | 1 | } |
|
59 | } |
||
60 |