| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 31 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 32 | { |
||
| 33 | $responseFactory = new ResponseFactory(); |
||
| 34 | $limitingPolicy = new LimitPerIp(); |
||
| 35 | |||
| 36 | $middleware = new LimitRequestsMiddleware($this->getCounter(), $responseFactory, $limitingPolicy); |
||
| 37 | return $middleware->process($request, $handler); |
||
| 38 | } |
||
| 51 |