$review->getRouteKey(), 'key' => [ 'public' => $review->getPublicKey(), 'route' => $review->getRouteKey(), ], 'user_id' => $review->user_id, 'description' => $review->description, 'activity_id' => $review->activity_id, 'stars' => $review->stars, 'url' => [ 'public' => trans_url('review/'.$review->getPublicKey()), 'user' => guard_url('review/review/'.$review->getRouteKey()), ], 'status' => trans('app.'.$review->status), 'created_at' => format_date($review->created_at), 'updated_at' => format_date($review->updated_at), ]; } }