App\Notifications\Auth\ResetPasswordNotification::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())->view('emails.password', ['name' => ucwords($notifiable->profile->fullName), 'token' => $this->token]);
    }
ResetPasswordNotification