public function parse()
    {
        $input = $this->queryString;

        // Parse string if it's not already parsed into an array
        if (is_string($this->queryString)) {
            $input = [];
            parse_str($this->queryString, $input);
        }

        $this->query = new Query($input);

        $this->parseQ();
        $this->parseEmbeds();
        $this->parseIncludes();
        $this->parseExcludes();
        $this->parseSorts();

        return $this->query;
    }
public function parse()
    {
        $input = $this->queryString;

        // Parse string if it's not already parsed into an array
        if (is_string($this->queryString)) {
            $input = [];
            parse_str($this->queryString, $input);
        }

        $this->query = new Query($input);

        $this->parseQ();
        $this->parseEmbeds();
        $this->parseIncludes();
        $this->parseExcludes();
        $this->parseSorts();

        return $this->query;
    }
public function parse ( ) { $ input = $ this -> queryString ; // Parse string if it's not already parsed into an array if ( is_string ( $ this -> queryString ) ) { $ input = [ ] ; parse_str ( $ this -> queryString , $ input ) ; } $ this -> query = new Query ( $ input ) ; $ this -> parseQ ( ) ; $ this -> parseEmbeds ( ) ; $ this -> parseIncludes ( ) ; $ this -> parseExcludes ( ) ; $ this -> parseSorts ( ) ; return $ this -> query ; }
Parse a raw query into something more meaningful

@return Query
Parse a raw query into something more meaningful