| Total Complexity | 4 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | |||
| 11 | class Middleware implements MiddlewareInterface{ |
||
| 12 | protected static array $data = []; |
||
| 13 | protected static Response $response; |
||
| 14 | |||
| 15 | public function __get($key) |
||
| 16 | { |
||
| 17 | return (array_key_exists($key,self::$data)) ? self::$data[$key] : null; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function __set($key,$value) |
||
| 23 | } |
||
| 24 | |||
| 25 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
| 26 | { |
||
| 33 | } |