Conditions | 4 |
Paths | 3 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | protected function process($cleanAll = true) |
||
53 | { |
||
54 | $key = dba_firstkey($this->cache->getDba()); |
||
55 | |||
56 | while ($key !== false && $key !== null) { |
||
57 | if (true === $cleanAll) { |
||
58 | $this->cache->delete($key); |
||
59 | } else { |
||
60 | $this->cache->get($key); |
||
61 | } |
||
62 | |||
63 | $key = dba_nextkey($this->cache->getDba()); |
||
64 | } |
||
65 | |||
66 | dba_optimize($this->cache->getDba()); |
||
67 | } |
||
68 | |||
92 |