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