$comment->getRouteKey(), 'key' => [ 'public' => $comment->getPublicKey(), 'route' => $comment->getRouteKey(), ], 'id' => $comment->id, 'comment' => $comment->comment, 'name' => $comment->name, 'email' => $comment->email, 'website' => $comment->website, 'status' => $comment->status, 'slug' => $comment->slug, 'news_id' => $comment->news_id, 'user_id' => $comment->user_id, 'user_type' => $comment->user_type, 'created_at' => $comment->created_at, 'deleted_at' => $comment->deleted_at, 'updated_at' => $comment->updated_at, 'url' => [ 'public' => trans_url('news/'.$comment->getPublicKey()), 'user' => guard_url('news/comment/'.$comment->getRouteKey()), ], 'status' => trans('app.'.$comment->status), 'created_at' => format_date($comment->created_at), 'updated_at' => format_date($comment->updated_at), ]; } }