original_string: public function here($base = true)
      {
          deprecationWarning(
              'ServerRequest::here() will be removed in 4.0.0. You should use getRequestTarget() instead.'
          );
  
          $url = $this->here;
          if (!empty($this->query)) {
              $url .= '?' . http_build_query($this->query, null, '&');
          }
          if (!$base) {
              $url = preg_replace('/^' . preg_quote($this->base, '/') . '/', '', $url, 1);
          }
  
          return $url;
      }
code: public function here($base = true)
      {
          deprecationWarning(
              'ServerRequest::here() will be removed in 4.0.0. You should use getRequestTarget() instead.'
          );
  
          $url = $this->here;
          if (!empty($this->query)) {
              $url .= '?' . http_build_query($this->query, null, '&');
          }
          if (!$base) {
              $url = preg_replace('/^' . preg_quote($this->base, '/') . '/', '', $url, 1);
          }
  
          return $url;
      }
code_tokens: public function here ( $ base = true ) { deprecationWarning ( 'ServerRequest::here() will be removed in 4.0.0. You should use getRequestTarget() instead.' ) ; $ url = $ this -> here ; if ( ! empty ( $ this -> query ) ) { $ url .= '?' . http_build_query ( $ this -> query , null , '&' ) ; } if ( ! $ base ) { $ url = preg_replace ( '/^' . preg_quote ( $ this -> base , '/' ) . '/' , '' , $ url , 1 ) ; } return $ url ; }
docstring: Get the value of the current requests URL. Will include the query string arguments.
  
  @param bool $base Include the base path, set to false to trim the base path off.
  @return string The current request URL including query string args.
  @deprecated 3.4.0 This method will be removed in 4.0.0. You should use getRequestTarget() instead.
docstring_tokens: Get the value of the current requests URL . Will include the query string arguments .