original_string: public function listByQueryAction($query, $max = 30, $whereFields = array('headline', 'body'))
      {
          $questions = $this->getQuestionRepository()->retrieveByQuery($query, $max, $whereFields);
  
          return $this->render(
              'GenjFaqBundle:Question:list_by_query.html.twig',
              array(
                  'questions' => $questions,
                  'max'       => $max
              )
          );
      }
code: public function listByQueryAction($query, $max = 30, $whereFields = array('headline', 'body'))
      {
          $questions = $this->getQuestionRepository()->retrieveByQuery($query, $max, $whereFields);
  
          return $this->render(
              'GenjFaqBundle:Question:list_by_query.html.twig',
              array(
                  'questions' => $questions,
                  'max'       => $max
              )
          );
      }
code_tokens: public function listByQueryAction ( $ query , $ max = 30 , $ whereFields = array ( 'headline' , 'body' ) ) { $ questions = $ this -> getQuestionRepository ( ) -> retrieveByQuery ( $ query , $ max , $ whereFields ) ; return $ this -> render ( 'GenjFaqBundle:Question:list_by_query.html.twig' , array ( 'questions' => $ questions , 'max' => $ max ) ) ; }
docstring: list questions which fitting the query
  
  @param string $query
  @param int    $max
  @param array  $whereFields
  
  @return \Symfony\Component\HttpFoundation\Response
docstring_tokens: list questions which fitting the query