/**
* @var ?ResponseInterface
+ * @since 5.5
*/
private $psr7Response;
* Calls setResponse() if the parameter implements the ResponseInterface.
*
* @see AbstractPage::setPsr7Response()
+ * @since 5.5
*/
final protected function maybeSetPsr7Response($response): void
{
* Sets the PSR-7 response to return. Processing will be aborted after
* readParameters(), readData() or show() if the response is non-null
* and the response will be returned to the RequestHandler.
+ *
+ * @since 5.5
*/
final protected function setPsr7Response(?ResponseInterface $response): void
{
* Returns the current response as set using setResponse().
*
* @see AbstractPage::setPsr7Response()
+ * @since 5.5
*/
final protected function getPsr7Response(): ?ResponseInterface
{
*
* @see AbstractPage::getPsr7Response()
* @see AbstractPage::setPsr7Response()
+ * @since 5.5
*/
final protected function hasPsr7Response(): bool
{