app/Notifications/TaskNotification.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 toDatabase($notifiable)
    {
        return [
            'thread' =>$this->thread,
        ];
    }
public function toDatabase ( $ notifiable ) { return [ 'thread' => $ this -> thread , ] ; }
Get the array representation of the notification.
Get the array representation of the notification .