public function setQuery($query = null)
    {
        $this->query = [];
        return ($query === null)
            ? $this
            : $this->addQueryData($query);
    }
public function setQuery($query = null)
    {
        $this->query = [];
        return ($query === null)
            ? $this
            : $this->addQueryData($query);
    }
public function setQuery ( $ query = null ) { $ this -> query = [ ] ; return ( $ query === null ) ? $ this : $ this -> addQueryData ( $ query ) ; }
Set the query data

@param string|array|null $query
@return \sndsgd\Url
Set the query data