public function all($project, array $params = [])
    {
        $this->issueCategories = $this->retrieveAll('/projects/'.$project.'/issue_categories.json', $params);

        return $this->issueCategories;
    }
public function all($project, array $params = [])
    {
        $this->issueCategories = $this->retrieveAll('/projects/'.$project.'/issue_categories.json', $params);

        return $this->issueCategories;
    }
public function all ( $ project , array $ params = [ ] ) { $ this -> issueCategories = $ this -> retrieveAll ( '/projects/' . $ project . '/issue_categories.json' , $ params ) ; return $ this -> issueCategories ; }
List issue categories.

@see http://www.redmine.org/projects/redmine/wiki/Rest_IssueCategories#GET

@param string|int $project project id or literal identifier
@param array      $params  optional parameters to be passed to the api (offset, limit, ...)

@return array list of issue categories found
List issue categories .