| Total Complexity | 4 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 95% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class TextRenderer implements Renderable |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | */ |
||
| 15 | 31 | public function render(Collection $metrics): string |
|
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Collection $labels |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 31 | protected function serialize(Collection $labels): string |
|
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param MetricFamilySamples $family |
||
| 46 | * |
||
| 47 | * @return Collection |
||
| 48 | */ |
||
| 49 | 31 | protected function transform(MetricFamilySamples $family): Collection |
|
| 65 |