src/PHPDish/Bundle/NotificationBundle/Service/NotificationManager.php
public function markAllAsSeen(UserInterface $participant)
    {
        $notifications = $this->findNotificationMetadata($participant, false);
        foreach ($notifications as $notification) {
            $notification->setSeen(true);
        }
        $this->entityManager->flush();
    }
public function markAllAsSeen(UserInterface $participant)
    {
        $notifications = $this->findNotificationMetadata($participant, false);
        foreach ($notifications as $notification) {
            $notification->setSeen(true);
        }
        $this->entityManager->flush();
    }
{@inheritdoc}