original_string: private function buildQueryDefinition(array $configuration, ContentView $view)
      {
          $parameters = $this->processParameters($configuration['parameters'], $view);
  
          $this->injectSupportedParameters($parameters, $configuration['query_type'], $view);
  
          return new QueryDefinition([
              'name' => $configuration['query_type'],
              'parameters' => $parameters,
              'useFilter' => $this->parameterProcessor->process($configuration['use_filter'], $view),
              'maxPerPage' => $this->parameterProcessor->process($configuration['max_per_page'], $view),
              'page' => $this->parameterProcessor->process($configuration['page'], $view),
          ]);
      }
code: private function buildQueryDefinition(array $configuration, ContentView $view)
      {
          $parameters = $this->processParameters($configuration['parameters'], $view);
  
          $this->injectSupportedParameters($parameters, $configuration['query_type'], $view);
  
          return new QueryDefinition([
              'name' => $configuration['query_type'],
              'parameters' => $parameters,
              'useFilter' => $this->parameterProcessor->process($configuration['use_filter'], $view),
              'maxPerPage' => $this->parameterProcessor->process($configuration['max_per_page'], $view),
              'page' => $this->parameterProcessor->process($configuration['page'], $view),
          ]);
      }
code_tokens: private function buildQueryDefinition ( array $ configuration , ContentView $ view ) { $ parameters = $ this -> processParameters ( $ configuration [ 'parameters' ] , $ view ) ; $ this -> injectSupportedParameters ( $ parameters , $ configuration [ 'query_type' ] , $ view ) ; return new QueryDefinition ( [ 'name' => $ configuration [ 'query_type' ] , 'parameters' => $ parameters , 'useFilter' => $ this -> parameterProcessor -> process ( $ configuration [ 'use_filter' ] , $ view ) , 'maxPerPage' => $ this -> parameterProcessor -> process ( $ configuration [ 'max_per_page' ] , $ view ) , 'page' => $ this -> parameterProcessor -> process ( $ configuration [ 'page' ] , $ view ) , ] ) ; }
docstring: Build QueryDefinition instance from the given arguments.
  
  @param array $configuration
  @param \Netgen\Bundle\EzPlatformSiteApiBundle\View\ContentView $view
  
  @return \Netgen\Bundle\EzPlatformSiteApiBundle\QueryType\QueryDefinition
docstring_tokens: Build QueryDefinition instance from the given arguments .