Example #1
0
 /**
  * prepareCndOrderId
  *
  * @param \Doctrine\ORM\QueryBuilder $queryBuilder QueryBuilder instance
  * @param mixed                      $value        Searchable value
  *
  * @return void
  */
 protected function prepareCndOrderId(\Doctrine\ORM\QueryBuilder $queryBuilder, $value)
 {
     if ($value) {
         $queryBuilder->bindOrder($value);
     } else {
         $queryBuilder->bindVisible();
     }
 }