Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
55 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
56 | { |
||
57 | $requestHandler = new MiddlewareHandler($this->middleware, $handler); |
||
58 | $middleware = new PregMatchRequestTargetMiddleware($this->pattern, $requestHandler); |
||
59 | |||
60 | return $middleware->process($request, $handler); |
||
61 | } |
||
63 |