Set the query part of the URL
QueryString|string|array $query Query to set:
public function setQuery($query) {
if (is_string($query)) {
$output = null;
parse_str($query, $output);
$this->query = new QueryString($output);
}
elseif (is_array($query)) {
$this->query = new QueryString($query);
}
elseif ($query instanceof QueryString) {
$this->query = $query;
}
return $this;
}