| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | 1 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
| 31 | { |
||
| 32 | 1 | $controller = $this->container->get($this->class); |
|
| 33 | 1 | $params = array_merge([$request, $handler], $this->factory->createInstances($request, $this->getHandlerParams())); |
|
| 34 | 1 | return (new Injector($this->container))->invoke([$controller, $this->method], $params); |
|
| 35 | } |
||
| 42 |