BookStack\Notifications\ConfirmEmail::toMail PHP Метод

toMail() публичный Метод

Get the mail representation of the notification.
public toMail ( mixed $notifiable ) : Illuminate\Notifications\Messages\MailMessage
$notifiable mixed
Результат Illuminate\Notifications\Messages\MailMessage
    public function toMail($notifiable)
    {
        $appName = ['appName' => setting('app-name')];
        return (new MailMessage())->subject(trans('auth.email_confirm_subject', $appName))->greeting(trans('auth.email_confirm_greeting', $appName))->line(trans('auth.email_confirm_text'))->action(trans('auth.email_confirm_action'), baseUrl('/register/confirm/' . $this->token));
    }