1 | <?php |
||
12 | class HttpViolationHandler implements ViolationHandlerInterface |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * Handles a violation by sending the corresponding HTTP header and exiting. |
||
17 | */ |
||
18 | 1 | public function handleViolation() |
|
23 | |||
24 | /** |
||
25 | * @codeCoverageIgnore |
||
26 | */ |
||
27 | protected function sendHeader() |
||
32 | |||
33 | /** |
||
34 | * @codeCoverageIgnore |
||
35 | */ |
||
36 | protected function callExit() |
||
40 | } |
||
41 |