public function query($url = '', $argsOrParams = array(), $params = array())
    {
        if (strpos($url, '%s') === false) {
            $argsOrParams = $argsOrParams + $this->request->getQueries();
        } else {
            $params += $this->request->getQueries();
        }
        return $this->__invoke($url, $argsOrParams, $params);
    }
public function query($url = '', $argsOrParams = array(), $params = array())
    {
        if (strpos($url, '%s') === false) {
            $argsOrParams = $argsOrParams + $this->request->getQueries();
        } else {
            $params += $this->request->getQueries();
        }
        return $this->__invoke($url, $argsOrParams, $params);
    }
public function query ( $ url = '' , $ argsOrParams = array ( ) , $ params = array ( ) ) { if ( strpos ( $ url , '%s' ) === false ) { $ argsOrParams = $ argsOrParams + $ this -> request -> getQueries ( ) ; } else { $ params += $ this -> request -> getQueries ( ) ; } return $ this -> __invoke ( $ url , $ argsOrParams , $ params ) ; }
Generate the URL path with current query parameters and specified parameters

@param string $url
@param string|array $argsOrParams
@param string|array $params
@return string
Generate the URL path with current query parameters and specified parameters