src/PHPDish/Bundle/NotificationBundle/Service/NotificationManager.php
public function createNotification($subject, $message = null)
    {
        $notification = new $this->notificationEntity();
        $notification->setSubject($subject);
        $message && $notification->setMessage($message);
        return $notification;
    }
public function createNotification($subject, $message = null)
    {
        $notification = new $this->notificationEntity();
        $notification->setSubject($subject);
        $message && $notification->setMessage($message);
        return $notification;
    }
{@inheritdoc}