Total Complexity | 3 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class HtmlRenderer implements Renderer |
||
11 | { |
||
12 | 2 | public function __construct(protected ResponseFactory $response) |
|
14 | 2 | } |
|
15 | |||
16 | 1 | public function render(mixed $data, mixed ...$args): string |
|
17 | { |
||
18 | 1 | return (string)$data; |
|
19 | } |
||
20 | |||
21 | 1 | public function response(mixed $data, mixed ...$args): Response |
|
24 | } |
||
25 | } |
||
26 |