return $this->createQueryBuilder('e') | return $this->createQueryBuilder('e') | ||||
->where(':currentMerchant MEMBER OF e.merchants') | ->where(':currentMerchant MEMBER OF e.merchants') | ||||
->andWhere('e.isPublic = 1') | ->andWhere('e.isPublic = 1') | ||||
->andWhere('e.status > 0') | |||||
->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()) | ->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()) | ||||
->getQuery() | ->getQuery() | ||||
->getResult() ; | ->getResult() ; |