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;
    }