public function markAllNotificationsAsSentFarInThePast($recipientId)
    {
        $qb = $this->getEntityManager()->createQueryBuilder()
            ->update("Azine\EmailBundle\Entity\Notification", 'n')
            ->set('n.sent', ':farInThePast')
            ->andWhere('n.sent is null')
            ->andWhere('n.recipient_id = :recipientId')
            ->setParameter('recipientId', $recipientId)
            ->setParameter('farInThePast', new \DateTime('1900-01-01'));
        $qb->getQuery()->execute();
    }