original_string: private function handleAggregators(
              ExportInterface $export, 
              QueryBuilder $qb, 
              $data, 
              array $center)
      {
          $aggregators = $this->retrieveUsedAggregators($data);
          
          foreach ($aggregators as $alias => $aggregator) {
              $formData = $data[$alias];
              $aggregator->alterQuery($qb, $formData['form']);
          }
      }
code: private function handleAggregators(
              ExportInterface $export, 
              QueryBuilder $qb, 
              $data, 
              array $center)
      {
          $aggregators = $this->retrieveUsedAggregators($data);
          
          foreach ($aggregators as $alias => $aggregator) {
              $formData = $data[$alias];
              $aggregator->alterQuery($qb, $formData['form']);
          }
      }
code_tokens: private function handleAggregators ( ExportInterface $ export , QueryBuilder $ qb , $ data , array $ center ) { $ aggregators = $ this -> retrieveUsedAggregators ( $ data ) ; foreach ( $ aggregators as $ alias => $ aggregator ) { $ formData = $ data [ $ alias ] ; $ aggregator -> alterQuery ( $ qb , $ formData [ 'form' ] ) ; } }
docstring: Alter the query with selected aggregators
  
  Check for acl. If an user is not authorized to see an aggregator, throw an
  UnauthorizedException.
  
  @param ExportInterface $export
  @param QueryBuilder $qb
  @param type $data
  @param \Chill\MainBundle\Entity\Center[] $centers the picked centers
  @throw UnauthorizedHttpException if the user is not authorized
docstring_tokens: Alter the query with selected aggregators