Zend\Stratigility\Http\Response::getOriginalResponse PHP Method

getOriginalResponse() public method

Return the original PSR response object
public getOriginalResponse ( ) : Psr\Http\Message\ResponseInterface
return Psr\Http\Message\ResponseInterface
    public function getOriginalResponse()
    {
        trigger_error(sprintf('%s is now deprecated. Please register %s as your outermost middleware, ' . 'and pull the original response via the request "originalResponse" ' . 'attribute. %s will no longer be available starting in Stratigility 2.0.0. ' . 'Please see https://docs.zendframework.com/migration/to-v2/#original-request-response-and-uri ' . 'for full details.', __CLASS__, \Zend\Stratigility\Middleware\OriginalMessages::class, __METHOD__), E_USER_DEPRECATED);
        return $this->psrResponse;
    }