protected function fromString($queryString)
    {
        if (empty($queryString)) {
            return $this;
        }

        $data = array();

        parse_str($queryString, $data);

        $this->fromArray($data);

        return $this;
    }
protected function fromString($queryString)
    {
        if (empty($queryString)) {
            return $this;
        }

        $data = array();

        parse_str($queryString, $data);

        $this->fromArray($data);

        return $this;
    }
protected function fromString ( $ queryString ) { if ( empty ( $ queryString ) ) { return $ this ; } $ data = array ( ) ; parse_str ( $ queryString , $ data ) ; $ this -> fromArray ( $ data ) ; return $ this ; }
Set data from a query string

@param string $queryString

@return QueryString
Set data from a query string