public function getAll($params = null) { $query = RestClient::array2params($params); return $this->query('get', $this->url . ($query ? "?{$query}" : '')); }