Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class HtmlResponseFormatter implements ResponseFormatterInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string the Content-Type header for the response |
||
13 | */ |
||
14 | private string $contentType = 'text/html'; |
||
15 | |||
16 | /** |
||
17 | * @var string the XML encoding. If not set, it will use the value of [[Response::charset]]. |
||
18 | */ |
||
19 | private string $encoding = 'UTF-8'; |
||
20 | |||
21 | public function format(DeferredResponse $deferredResponse): ResponseInterface |
||
30 |