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

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

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

@see http://www.redmine.org/projects/redmine/wiki/Rest_Versions#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 versions found
List versions .