| Total Complexity | 4 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class DeferredResponseFormatter implements MiddlewareInterface |
||
| 13 | { |
||
| 14 | private ResponseFormatterInterface $responseFormatter; |
||
| 15 | |||
| 16 | public function __construct(ResponseFormatterInterface $responseFormatter) |
||
| 17 | { |
||
| 18 | $this->responseFormatter = $responseFormatter; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 29 | } |
||
| 30 | } |
||
| 31 |