]> BookStack Code Mirror - bookstack/blob - app/Notifications/TestEmail.php
Updated styles to use logical properties/values
[bookstack] / app / Notifications / TestEmail.php
1 <?php namespace BookStack\Notifications;
2
3 class TestEmail extends MailNotification
4 {
5     /**
6      * Get the mail representation of the notification.
7      *
8      * @param  mixed  $notifiable
9      * @return \Illuminate\Notifications\Messages\MailMessage
10      */
11     public function toMail($notifiable)
12     {
13         return $this->newMailMessage()
14                 ->subject(trans('settings.maint_send_test_email_mail_subject'))
15                 ->greeting(trans('settings.maint_send_test_email_mail_greeting'))
16                 ->line(trans('settings.maint_send_test_email_mail_text'));
17     }
18 }