original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Generate the URL path with current query parameters and specified parameters
  
  @param string $url
  @param string|array $argsOrParams
  @param string|array $params
  @return string
docstring_tokens: Generate the URL path with current query parameters and specified parameters