1 | <?php |
||
20 | class HtmlResponseFormatter extends Component implements ResponseFormatterInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var string the Content-Type header for the response |
||
24 | */ |
||
25 | public $contentType = 'text/html'; |
||
26 | |||
27 | |||
28 | /** |
||
29 | * Formats the specified response. |
||
30 | * @param Response $response the response to be formatted. |
||
31 | */ |
||
32 | 3 | public function format($response) |
|
42 | } |
||
43 |