public function removeNotification(array $notifiables, NotificationInterface $notification, $flush = false)
    {
        $repo = $this->om->getRepository('MgiletNotificationBundle:NotifiableNotification');
        foreach ($notifiables as $notifiable) {
            $repo->createQueryBuilder('nn')
                ->delete()
                ->where('nn.notifiableEntity = :entity')
                ->andWhere('nn.notification = :notification')
                ->setParameter('entity', $this->getNotifiableEntity($notifiable))
                ->setParameter('notification', $notification)
                ->getQuery()
                ->execute();

            $event = new NotificationEvent($notification, $notifiable);
            $this->dispatcher->dispatch(MgiletNotificationEvents::REMOVED, $event);
        }

        $this->flush($flush);
    }