/** * Sets result. * * @param Api\Result $result Result. * * @return void */ protected function setResult(Api\Result $result) { $this->total = $result->getTotal(); $this->offset = 0; $this->max = $result->getIssuesCount(); $this->issues = $result->getIssues(); $this->startAt++; }