| 1 | <?php |
||
| 18 | class EmptyResponseHandler implements RequestHandlerInterface{ |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \Psr\Http\Message\ResponseFactoryInterface |
||
| 22 | */ |
||
| 23 | protected $responseFactory; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | */ |
||
| 28 | protected $status; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * EmptyResponseHandler constructor. |
||
| 32 | * |
||
| 33 | * @param \Psr\Http\Message\ResponseFactoryInterface $responseFactory |
||
| 34 | * @param int $status |
||
| 35 | */ |
||
| 36 | public function __construct(ResponseFactoryInterface $responseFactory, int $status){ |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritDoc |
||
| 43 | */ |
||
| 44 | public function handle(ServerRequestInterface $request):ResponseInterface{ |
||
| 47 | |||
| 48 | } |
||
| 49 |