app/Notifications/TextNotification.php
/**
     * Get the array representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
Get the array representation of the notification.
@param  mixed  $notifiable
@return array
Get the array representation of the notification . @param mixed $notifiable @return array
public function toArray($notifiable)
    {
        return [
            'message'     => $this->message,
            'user_id'     => $notifiable->id,
            'user_email'  => $notifiable->email,
        ];
    }
public function toArray ( $ notifiable ) { return [ 'message' => $ this -> message , 'user_id' => $ notifiable -> id , 'user_email' => $ notifiable -> email , ] ; }
Get the array representation of the notification.
Get the array representation of the notification .