$comment->getRouteKey(), 'key' => [ 'public' => $comment->getPublicKey(), 'route' => $comment->getRouteKey(), ], 'userid' => $comment->userid, 'object_id' => $comment->object_id, 'comment' => $comment->comment, 'images' => $comment->images, 'slug' => $comment->slug, 'deleted_at' => $comment->deleted_at, 'url' => [ 'public' => trans_url('comment/'.$comment->getPublicKey()), 'user' => guard_url('comment/comment/'.$comment->getRouteKey()), ], 'status' => trans('app.'.$comment->status), 'created_at' => format_date($comment->created_at), 'updated_at' => format_date($comment->updated_at), ]; } }