Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Json extends AOutput |
||
12 | { |
||
13 | /** @var array<string|int, string|int|float|array<string|int|float|array<string|int|float>>> */ |
||
14 | protected array $content = []; |
||
15 | |||
16 | /** |
||
17 | * @param array<string|int, string|int|float|array<string|int|float|array<string|int|float>>> $contentToEncode |
||
18 | * @return $this |
||
19 | */ |
||
20 | 1 | public function setContent($contentToEncode): self |
|
24 | } |
||
25 | |||
26 | 1 | public function output(): string |
|
36 |