| Total Complexity | 3 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 15 | final class ActionWrapper implements MiddlewareInterface  | 
            ||
| 16 | { | 
            ||
| 17 | private string $class;  | 
            ||
| 18 | private string $method;  | 
            ||
| 19 | private ContainerInterface $container;  | 
            ||
| 20 | private RequestModelFactory $factory;  | 
            ||
| 21 | |||
| 22 | public function __construct(ContainerInterface $container, RequestModelFactory $factory, string $class, string $method)  | 
            ||
| 23 |     { | 
            ||
| 24 | $this->container = $container;  | 
            ||
| 25 | $this->factory = $factory;  | 
            ||
| 26 | $this->class = $class;  | 
            ||
| 27 | $this->method = $method;  | 
            ||
| 28 | }  | 
            ||
| 29 | |||
| 30 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 37 | private function getHandlerParams(): array  | 
            ||
| 42 |