Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
51 | 7 | private function cacheState() |
|
52 | { |
||
53 | 7 | if (! $this->policies->widgetShouldUseCache()) { |
|
54 | 6 | return ' 
Cache: is globally turned off (You should put "enable_cache" => true in config\widgetize.php) '; |
|
55 | } |
||
56 | |||
57 | 1 | return " 
Cache : {$this->widget->cacheLifeTime} (min)' "; |
|
58 | } |
||
59 | |||
78 |