Returns the current origin response instance.
The origin response is the response instance that is returned by the code that handles requests.
@psalm-return TResponse
doRequest()
public function getResponse() : object { return $this->response ?? throw new BadMethodCallException(\sprintf('The "request()" method must be called before "%s()".', __METHOD__)); }