App\Notifications\Frontend\Auth\UserNeedsConfirmation::toMail PHP Method

toMail() public method

Get the mail representation of the notification.
public toMail ( mixed $notifiable ) : Illuminate\Notifications\Messages\MailMessage
$notifiable mixed
return Illuminate\Notifications\Messages\MailMessage
    public function toMail($notifiable)
    {
        return (new MailMessage())->subject(app_name() . ': ' . trans('exceptions.frontend.auth.confirmation.confirm'))->line(trans('strings.emails.auth.click_to_confirm'))->action(trans('buttons.emails.auth.confirm_account'), route('frontend.auth.account.confirm', $this->confirmation_code))->line(trans('strings.emails.auth.thank_you_for_using_app'));
    }
UserNeedsConfirmation