| 1 | <?php |
||
| 20 | class LogTime extends AbstractAnalyzer |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Internal runtime cache |
||
| 25 | * |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected static $internalCache = []; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the given KPI |
||
| 32 | * |
||
| 33 | * @param Cache $cache |
||
| 34 | * |
||
| 35 | * @return mixed |
||
| 36 | * @throws \HDNET\CacheCheck\Exception |
||
| 37 | */ |
||
| 38 | public function getKpi(Cache $cache) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Format the given KPI |
||
| 51 | * |
||
| 52 | * @param mixed $kpi |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getFormat($kpi) |
||
| 61 | } |
||
| 62 |