Esempio n. 1
0
 /**
  * Creates a filtered query builder.
  *
  * @param FormInterface $form Filter form
  *
  * @return QueryBuilder Returns the queryBuilder object to filter on
  */
 private function createQueryBuilder(FormInterface $form)
 {
     $qb = $this->manager->getQueryBuilder();
     if ($form->isValid()) {
         $this->filterBuilderUpdater->addFilterConditions($form, $qb);
     }
     return $qb;
 }
 /**
  * @param array $parts
  */
 public function setQueryBuilderParts(array $parts)
 {
     $this->queryBuilderUpdater->setParts($parts);
 }