Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function afterCall($proxied, $method, $args, $result) |
||
18 | { |
||
19 | $message = "Your partial cache named {$args[0]} "; |
||
20 | $message .= (empty($result)) ? 'didn’t find any existing caches' : $message .= 'found an existing cache'; |
||
21 | SilverStripeCollector::addTemplateCacheInfo($message); |
||
22 | } |
||
23 | } |
||
24 |