| Total Complexity | 2 | 
| Total Lines | 29 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 7 | class HtmlResponse implements FoaasResponse | ||
| 8 | { | ||
| 9 | /** | ||
| 10 | * A header string for the request. | ||
| 11 | * | ||
| 12 | * @var string | ||
| 13 | */ | ||
| 14 | protected $acceptHeader = 'text/html'; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * Returns the header type. | ||
| 18 | * | ||
| 19 | * @return string | ||
| 20 | */ | ||
| 21 | public function getHeaders(): string | ||
| 22 |     { | ||
| 23 | return $this->acceptHeader; | ||
| 24 | } | ||
| 25 | |||
| 26 | /** | ||
| 27 | * Returns a response. | ||
| 28 | * | ||
| 29 | * @param string $response | ||
| 30 | * | ||
| 31 | * @return string | ||
| 32 | */ | ||
| 33 | public function response(string $response, FoaasFilter $filter) | ||
| 36 | } | ||
| 37 | } | ||
| 38 |