original_string: public function getQueryParams(array $list = null)
      {
          return isset($list)
              ? $this->listQueryParams($list)
              : (array)$this->getRequest()->getQueryParams();
      }
code: public function getQueryParams(array $list = null)
      {
          return isset($list)
              ? $this->listQueryParams($list)
              : (array)$this->getRequest()->getQueryParams();
      }
code_tokens: public function getQueryParams ( array $ list = null ) { return isset ( $ list ) ? $ this -> listQueryParams ( $ list ) : ( array ) $ this -> getRequest ( ) -> getQueryParams ( ) ; }
docstring: Get the request query parameters.
  
  <code>
  // Get all parameters
  $params = $this->getQueryParams();
  
  // Get specific parameters, specifying defaults for 'bar' and 'zoo'
  list($foo, $bar, $zoo) = $this->getQueryParams(['foo', 'bar' => 10, 'zoo' => 'monkey']);
  </code>
  
  @param array $list
  @return array
docstring_tokens: Get the request query parameters .