Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | abstract class ClientShowException extends Exception |
||
9 | { |
||
10 | /** @var HttpResponse */ |
||
11 | protected $response; |
||
12 | |||
13 | protected function sendHeader($status, $description) |
||
14 | { |
||
15 | $this->response->setResponseCode($status, $description); |
||
16 | } |
||
17 | |||
18 | public function setResponse(HttpResponse $response) |
||
21 | } |
||
22 | |||
23 | abstract public function handleHeader(); |
||
24 | } |
||
25 |