_em->createQuery($dql) ->setParameter('date', $expireDate, Type::DATETIME) ->getResult(); } }