Gush\ThirdParty\Github\GitHubAdapter::getIssues PHP Method

getIssues() public method

public getIssues ( array $parameters = [], $limit = 30 )
$parameters array
    public function getIssues(array $parameters = [], $limit = 30)
    {
        // FIXME is not respecting the pagination
        $pager = new ResultPager($this->client);
        $fetchedIssues = $pager->fetchAll($this->client->api('issue'), 'all', [$this->getUsername(), $this->getRepository(), $parameters]);
        $issues = [];
        foreach ($fetchedIssues as $issue) {
            $issues[] = $this->adaptIssueStructure($issue);
        }
        return $issues;
    }