1 | <?php |
||
26 | class DispatcherMiddleware implements MiddlewareInterface |
||
27 | { |
||
28 | /** |
||
29 | * From the request data renders an output for the response, or sets an error status code. |
||
30 | * |
||
31 | * @param ServerRequestInterface $request |
||
32 | * @param ResponseInterface $response |
||
33 | * @throws RuntimeException |
||
34 | * @return void |
||
35 | */ |
||
36 | 6 | public function __invoke(ServerRequestInterface&$request, ResponseInterface&$response) : void |
|
49 | } |
||
50 |