This commit is contained in:
salam committed 2025-10-15 17:22:47 +02:00
1 parent 81b0c92101
commit 17dbdfa605
1 file changed
+17 -4
@@ -2,22 +2,35 @@
namespace App\Notifications;
use Filament\Facades\Filament;
use Filament\Notifications\Notification;
use Illuminate\Foundation\Queue\Queueable;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class ResetPasswordNotification extends Notification
{
use Queueable;
public function __construct(private readonly string $token) {}
/**
* Create a new notification instance.
*/
public function __construct()
{
//
}
/**
* Get the notification's delivery channels.
*
* @return array<int, string>
*/
public function via(object $notifiable): array
{
return ['mail'];
}
/**
* Get the mail representation of the notification.
*/
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)