Add magic getter for response object
This commit is contained in:
parent
7e0c7dd9cc
commit
6d44341f66
|
@ -163,6 +163,17 @@ class QueueRequestHandler implements RequestHandlerInterface
|
||||||
return $this->request;
|
return $this->request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Magic getter method for $this->response.
|
||||||
|
* @see Getter
|
||||||
|
*
|
||||||
|
* @return ResponseInterface The PSR-7 response
|
||||||
|
*/
|
||||||
|
protected function magicGetResponse(): ResponseInterface
|
||||||
|
{
|
||||||
|
return $this->response;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a queue-based PSR-15 HTTP Server Request Handler.
|
* Create a queue-based PSR-15 HTTP Server Request Handler.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue