$comment->getRouteKey(), 'key' => [ 'public' => $comment->getPublicKey(), 'route' => $comment->getRouteKey(), ], 'id' => $comment->id, 'comment' => $comment->comment, 'author' => $comment->author, 'email' => $comment->email, 'published' => $comment->published, 'user_id' => $comment->user_id, 'user_type' => $comment->user_type, 'blog_id' => $comment->blog_id, 'created_at' => $comment->created_at, 'updated_at' => $comment->updated_at, '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), ]; } }