createQueryBuilder('e') ->where(':newsletter MEMBER OF e.newsletters') ->setParameter('newsletter', $newsletter->getId()) ->getQuery() ->getResult() ; } }