app/Notifications/Host/NotifyHost.php
/**
     * Get the database representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return \Illuminate\Notifications\Messages\MailMessage
     */
Get the database representation of the notification.
@param  mixed  $notifiable
@return \Illuminate\Notifications\Messages\MailMessage
Get the database representation of the notification . @param mixed $notifiable @return \ Illuminate \ Notifications \ Messages \ MailMessage
public function toDatabase($notifiable)
    {
        return [
            'user' => $this->details['user'],
            'message' => $this->details['message'],
            'action' => $this->details['action'],
        ];
    }
public function toDatabase ( $ notifiable ) { return [ 'user' => $ this -> details [ 'user' ] , 'message' => $ this -> details [ 'message' ] , 'action' => $ this -> details [ 'action' ] , ] ; }
Get the database representation of the notification.
Get the database representation of the notification .