Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class Response extends \hiqdev\hiart\AbstractResponse |
||
14 | { |
||
15 | /** |
||
16 | * @var object |
||
17 | */ |
||
18 | protected $worker; |
||
19 | |||
20 | public function __construct(Request $request, $worker) |
||
21 | { |
||
22 | $this->request = $request; |
||
23 | $this->worker = $worker; |
||
24 | } |
||
25 | |||
26 | public function getWorker() |
||
27 | { |
||
28 | return $this->worker; |
||
29 | } |
||
30 | |||
31 | public function getHeader($name) |
||
32 | { |
||
33 | return $this->worker->getHeader($name); |
||
34 | } |
||
35 | |||
36 | public function getStatusCode() |
||
37 | { |
||
38 | return $this->worker->getStatusCode(); |
||
39 | } |
||
40 | |||
41 | public function getHeaders() |
||
44 | } |
||
45 | |||
46 | public function getReasonPhrase() |
||
49 | } |
||
50 | } |
||
51 |