*/ public function via(object $notifiable): array { return ['mail']; } /** * Get the mail representation of the notification. */ public function toMail(object $notifiable): MailMessage { return (new MailMessage) ->greeting('Hello from seed') ->line('Your current email address has been changed to '.$this->email) ->line('Use the otp '.$this->otp.' to proceed with the change'); } /** * Get the array representation of the notification. * * @return array */ public function toArray(object $notifiable): array { return [ // ]; } }