public function __construct(NotificationRepository $notifications, NotificationMailer $mailer) { $this->notifications = $notifications; $this->mailer = $mailer; }