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