| Total Complexity | 6 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 10 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class HttpResponder implements TransferInterface |
||
| 11 | { |
||
| 12 | public function __construct( |
||
| 13 | private HeaderInterface $header, |
||
| 14 | private ConditionalResponseInterface $condResponse, |
||
| 15 | 9 | ) { |
|
| 16 | } |
||
| 17 | 9 | ||
| 18 | 1 | /** |
|
| 19 | * {@inheritDoc} |
||
| 20 | 1 | */ |
|
| 21 | public function __invoke(ResourceObject $ro, array $server): void |
||
| 36 | } |
||
| 37 | 8 | ||
| 38 | 8 | /** @param array<string, string> $server */ |
|
| 39 | private function getOutput(ResourceObject $ro, array $server): Output |
||
| 44 | 9 | } |
|
| 45 | } |
||
| 46 |