1 | <?php |
||
11 | class PartialCacheCollector extends DataCollector implements Renderable |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * Contains a list of all partial caches found. |
||
16 | * @var array |
||
17 | */ |
||
18 | private static $templateCache = array(); |
||
19 | |||
20 | public function getName() |
||
24 | |||
25 | public function collect() |
||
33 | |||
34 | public function getWidgets() |
||
53 | |||
54 | /** |
||
55 | * @return array |
||
56 | */ |
||
57 | public static function getTemplateCache() |
||
61 | |||
62 | /** |
||
63 | * Adds an item to the templateCache array |
||
64 | * @param string $key |
||
65 | * @param array $item |
||
66 | */ |
||
67 | public static function addTemplateCache($key, $item) |
||
71 | |||
72 | /** |
||
73 | * @param array $templateCache |
||
74 | */ |
||
75 | public static function setTemplateCache($templateCache) |
||
79 | } |
||
80 |