mobile, $notifiable->sms_template, $notifiable->sms_code); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ 'mobile' => $notifiable->mobile, 'sms_template' => $notifiable->sms_template, 'sms_code' => $notifiable->sms_code ]; } }