| 1 | <?php |
||
| 20 | class QueueRunner implements RequestHandlerInterface{ |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var \Psr\Http\Server\MiddlewareInterface[] |
||
| 24 | */ |
||
| 25 | private $middlewareStack; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var \Psr\Http\Server\RequestHandlerInterface |
||
| 29 | */ |
||
| 30 | private $fallbackHandler; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * constructor. |
||
| 34 | * |
||
| 35 | * @param array $middlewareStack |
||
| 36 | * @param \Psr\Http\Server\RequestHandlerInterface $fallbackHandler |
||
| 37 | */ |
||
| 38 | public function __construct(array $middlewareStack, RequestHandlerInterface $fallbackHandler){ |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritDoc |
||
| 45 | */ |
||
| 46 | public function handle(ServerRequestInterface $request):ResponseInterface{ |
||
| 56 | |||
| 57 | } |
||
| 58 |