| Total Complexity | 4 | 
| Total Lines | 17 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 15 | class ErrorProcessor implements MiddlewareInterface  | 
            ||
| 16 | { | 
            ||
| 17 | private $errorHandler;  | 
            ||
| 18 | |||
| 19 | 3 | public function __construct(ErrorHandler $errorHandler)  | 
            |
| 20 |     { | 
            ||
| 21 | 3 | $this->errorHandler = $errorHandler;  | 
            |
| 22 | 3 | }  | 
            |
| 23 | |||
| 24 | 3 | public function process(Request $request, RequestHandler $requestHandler): Response  | 
            |
| 32 | }  | 
            ||
| 33 | }  | 
            ||
| 35 |