*/ public function via(): array { return ['mail']; } /** * Get the mail representation of the notification. */ /** @param User $notifiable */ public function toMail(mixed $notifiable): MailMessage { return (new MailMessage) ->subject(__('notifications.password_reset.subject')) ->line(__('notifications.password_reset.intro')) ->action(__('notifications.password_reset.action'), url('/auth/password/reset/'.$this->token.'?email='.urlencode($notifiable->email))) ->line(__('notifications.password_reset.outro')); } }