| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | final class PsrResponder |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var MetricCollectorInterface |
||
| 12 | */ |
||
| 13 | private $collector; |
||
| 14 | /** |
||
| 15 | * @var ResponseFactoryInterface |
||
| 16 | */ |
||
| 17 | private $factory; |
||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | private $options; |
||
| 22 | |||
| 23 | 1 | public function __construct( |
|
| 31 | 1 | } |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Create PSR-7 HTTP response for collected metrics |
||
| 35 | * |
||
| 36 | * @return ResponseInterface |
||
| 37 | */ |
||
| 38 | 1 | public function createResponse(): ResponseInterface |
|
| 43 |