/** * The reset date by last response. * * @throws \RuntimeException * @return integer */ public function getResetDate() { if (is_null($this->oLastResponse)) { throw new \RuntimeException('Cannot access last response. Did you made a request?'); } return $this->oLastResponse->getResetDate(); }