src/PHPDish/Bundle/NotificationBundle/Service/NotificationManager.php
public function getNotificationCount(UserInterface $participant, $seen = null)
    {
        $qb = $this->getParticipantMetadataQb($participant, $seen);
        $qb->select($qb->expr()->count('m'));
        return $qb->getQuery()->getSingleScalarResult();
    }
public function getNotificationCount(UserInterface $participant, $seen = null)
    {
        $qb = $this->getParticipantMetadataQb($participant, $seen);
        $qb->select($qb->expr()->count('m'));
        return $qb->getQuery()->getSingleScalarResult();
    }
{@inheritdoc}