UrlToQueryItem.php
private function resolveVars() {
        $this->setCptQueryVars();
        $wp = $this->resolver->getWp();
        $public_query_vars = (array) apply_filters( 'query_vars', $wp->public_query_vars );
        $extra_query_vars = (array) $this->resolver->getExtraQueryVars();
        $this->parseQueryVars( $public_query_vars, $extra_query_vars );
        $this->parseTaxQueryVars();
        $this->parseCptQueryVars();
        $this->parsePrivateQueryVars( $extra_query_vars, $wp->private_query_vars );
        if ( ! is_null( $this->error ) ) {
            return $this->getError();
        }
        $this->query_vars = apply_filters( 'request', $this->query_vars );
        $this->done = TRUE;
        return $this->query_vars;
    }
private function resolveVars() {
        $this->setCptQueryVars();
        $wp = $this->resolver->getWp();
        $public_query_vars = (array) apply_filters( 'query_vars', $wp->public_query_vars );
        $extra_query_vars = (array) $this->resolver->getExtraQueryVars();
        $this->parseQueryVars( $public_query_vars, $extra_query_vars );
        $this->parseTaxQueryVars();
        $this->parseCptQueryVars();
        $this->parsePrivateQueryVars( $extra_query_vars, $wp->private_query_vars );
        if ( ! is_null( $this->error ) ) {
            return $this->getError();
        }
        $this->query_vars = apply_filters( 'request', $this->query_vars );
        $this->done = TRUE;
        return $this->query_vars;
    }
private function resolveVars ( ) { $ this -> setCptQueryVars ( ) ; $ wp = $ this -> resolver -> getWp ( ) ; $ public_query_vars = ( array ) apply_filters ( 'query_vars' , $ wp -> public_query_vars ) ; $ extra_query_vars = ( array ) $ this -> resolver -> getExtraQueryVars ( ) ; $ this -> parseQueryVars ( $ public_query_vars , $ extra_query_vars ) ; $ this -> parseTaxQueryVars ( ) ; $ this -> parseCptQueryVars ( ) ; $ this -> parsePrivateQueryVars ( $ extra_query_vars , $ wp -> private_query_vars ) ; if ( ! is_null ( $ this -> error ) ) { return $ this -> getError ( ) ; } $ this -> query_vars = apply_filters ( 'request' , $ this -> query_vars ) ; $ this -> done = TRUE ; return $ this -> query_vars ; }
Setup the query variables if a rewrite rule matched or if some variables are passed as query
string. Strips out not registered query variables and perform the 'request' filter
before saving and return found query vars.

@return array
@uses \GM\UrlToQueryItem::parseQueryVars()
@uses \GM\UrlToQueryItem::parseTaxQueryVars()
@uses \GM\UrlToQueryItem::parseCptQueryVars()
@uses \GM\UrlToQueryItem::parsePrivateQueryVars()
Setup the query variables if a rewrite rule matched or if some variables are passed as query string . Strips out not registered query variables and perform the request filter before saving and return found query vars .