| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class PsrConfigMiddleware implements MiddlewareInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var Container |
||
| 28 | */ |
||
| 29 | protected $di; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $sConfigFile; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * The constructor |
||
| 38 | * |
||
| 39 | * @param Container $di |
||
| 40 | * @param string $sConfigFile |
||
| 41 | */ |
||
| 42 | public function __construct(Container $di, string $sConfigFile) |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritDoc |
||
| 50 | * @throws SetupException |
||
| 51 | */ |
||
| 52 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 60 |