| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class SetStreamConverter implements MiddlewareInterface |
||
| 14 | { |
||
| 15 | private string $converter; |
||
| 16 | private array $params = []; |
||
| 17 | |||
| 18 | public function __construct(string $converter, array $params = []) |
||
| 19 | { |
||
| 20 | $this->converter = $converter; |
||
| 21 | $this->params = $params; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 32 | } |
||
| 33 | } |
||
| 34 |