mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Notifications: Reorgranised classes into domain specific folders
Closes #4500
This commit is contained in:
18
app/Settings/TestEmailNotification.php
Normal file
18
app/Settings/TestEmailNotification.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace BookStack\Settings;
|
||||
|
||||
use BookStack\App\MailNotification;
|
||||
use BookStack\Users\Models\User;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
|
||||
class TestEmailNotification extends MailNotification
|
||||
{
|
||||
public function toMail(User $notifiable): MailMessage
|
||||
{
|
||||
return $this->newMailMessage()
|
||||
->subject(trans('settings.maint_send_test_email_mail_subject'))
|
||||
->greeting(trans('settings.maint_send_test_email_mail_greeting'))
|
||||
->line(trans('settings.maint_send_test_email_mail_text'));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user