original_string: public function query($key = null, $default = null)
      {
          $queries = $this->getQueryParams();
  
          return is_null($key) ? $queries : data_get($queries, $key, $default);
      }
code: public function query($key = null, $default = null)
      {
          $queries = $this->getQueryParams();
  
          return is_null($key) ? $queries : data_get($queries, $key, $default);
      }
code_tokens: public function query ( $ key = null , $ default = null ) { $ queries = $ this -> getQueryParams ( ) ; return is_null ( $ key ) ? $ queries : data_get ( $ queries , $ key , $ default ) ; }
docstring: Retrieve a query string item from the request.
  
  @param string            $key
  @param null|array|string $default
  
  @return array|string
docstring_tokens: Retrieve a query string item from the request .