| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 32 | { |
||
| 33 | $endpoint = $this->endpointRepository->getByName(trim($request->getUri()->getPath(), '/')); |
||
| 34 | |||
| 35 | return $handler->handle( |
||
| 36 | $request->withAttribute(self::class, $endpoint) |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |