$comment->getRouteKey(), 'key' => [ 'public' => $comment->getPublicKey(), 'route' => $comment->getRouteKey(), ], 'comment' => $comment->comment, 'author' => $comment->author, 'email' => $comment->email, 'mobile' => $comment->mobile, 'slug' => $comment->slug, 'published' => $comment->published, 'user_id' => $comment->user_id, 'user_type' => $comment->user_type, 'blog_id' => $comment->blog_id, 'deleted_at' => $comment->deleted_at, 'url' => [ 'public' => trans_url('blog/'.$comment->getPublicKey()), 'user' => guard_url('blog/comment/'.$comment->getRouteKey()), ], 'status' => trans('app.'.$comment->status), 'created_at' => format_date($comment->created_at), 'updated_at' => format_date($comment->updated_at), ]; } }