1 <?php namespace BookStack\Notifications;
3 use Illuminate\Bus\Queueable;
4 use Illuminate\Contracts\Queue\ShouldQueue;
5 use Illuminate\Notifications\Messages\MailMessage;
6 use Illuminate\Notifications\Notification;
8 class MailNotification extends Notification implements ShouldQueue
13 * Get the notification's channels.
15 * @param mixed $notifiable
16 * @return array|string
18 public function via($notifiable)
24 * Create a new mail message.
27 protected function newMailMessage()
29 return (new MailMessage)->view([
30 'html' => 'vendor.notifications.email',
31 'text' => 'vendor.notifications.email-plain'