| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function afterCall($proxied, $method, $args, $result) |
||
| 17 | { |
||
| 18 | $message = (empty($result)) ? "Missed: {$args[0]}" : "Hit: {$args[0]}"; |
||
| 19 | $result = preg_replace('/\s+/', ' ', trim($result)); |
||
| 20 | $result = Convert::raw2att($result); |
||
| 21 | PartialCacheCollector::addTemplateCache( |
||
| 22 | $message, |
||
| 23 | array( |
||
| 24 | 'cache_result' => |
||
| 25 | array('result' => $result) |
||
| 26 | ) |
||
| 30 |