コード例 #1
0
 /**
  * @param PersonCriteria $criteria
  */
 private function checkCountry(PersonCriteria $criteria)
 {
     if ($criteria->hasCountry()) {
         $this->qb->andWhere('p.country = :country');
         $this->qb->setParameter('country', $criteria->getCountry());
     }
 }