verificationUrl($notifiable); return (new MailMessage) ->subject(Lang::get('Verify Your New Email Address')) ->view('emails.verify-email', [ 'name' => $notifiable->first_name . ' ' . $notifiable->last_name, 'url' => $verificationUrl, ]); } /** * Get the verification URL for the given notifiable. * * @param mixed $notifiable * @return string */ protected function verificationUrl($notifiable) { return parent::verificationUrl($notifiable); } /** * Set the recipient to the pending email. * * @param mixed $notifiable * @return array */ public function via($notifiable): array { return ['mail']; } }