getResponse()) { throw new \RuntimeException('A response must be present'); } } /** * Get the response the was received * * @return ResponseInterface */ public function getResponse() { return $this->getTransaction()->getResponse(); } }