Total Complexity | 6 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class HttpResponder implements TransferInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var HeaderInterface |
||
14 | */ |
||
15 | 9 | private $header; |
|
16 | |||
17 | 9 | /** |
|
18 | 1 | * @var ConditionalResponseInterface |
|
19 | */ |
||
20 | 1 | private $condResponse; |
|
21 | |||
22 | public function __construct(HeaderInterface $header, ConditionalResponseInterface $condResponse) |
||
23 | { |
||
24 | 8 | $this->header = $header; |
|
25 | 8 | $this->condResponse = $condResponse; |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | 8 | * {@inheritdoc} |
|
30 | 8 | */ |
|
31 | public function __invoke(ResourceObject $ro, array $server) |
||
46 | } |
||
47 | |||
48 | private function getOutput(ResourceObject $ro, array $server) : Output |
||
51 | 1 | } |
|
52 | } |
||
53 |