protected function setResult(Api\Result $result) { $this->total = $result->getTotal(); $this->offset = 0; $this->max = $result->getIssuesCount(); $this->issues = $result->getIssues(); $this->startAt++; }