app/Notifications/LikeComment.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->user->name . ' نظر شما با عنوان " ' . Str::limit($this->comment->body, 50) . ' " را لایک کرد.',
            'image' =>$this->user->image
        ];
    }
public function toArray ( $ notifiable ) { return [ 'message' => $ this -> user -> name . ' نظر شما با عنوان " ' . Str::limit $ his -> comme n t ->bo dy , 50) .  '  " ر ا لا ی رد.', 'image' => $ this -> user -> image ] ; }
Get the array representation of the notification.
Get the array representation of the notification .