You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
959 B

<?php
namespace App\Domains\Identity\Notifications;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
class VerifyEmailNotification extends VerifyEmail implements ShouldQueue
{
use Queueable;
public function via(mixed $notifiable): array
{
return ['mail'];
}
public function toMail(mixed $notifiable): MailMessage
{
$url = $this->verificationUrl($notifiable);
return (new MailMessage)
->subject(__('domains/auth/notifications.verify_email.subject'))
->line(__('domains/auth/notifications.verify_email.intro'))
->action(__('domains/auth/notifications.verify_email.action'), $url)
->line(__('domains/auth/notifications.verify_email.outro'));
}
public function toArray(object $notifiable): array
{
return [];
}
}