$review->getRouteKey(), 'key' => [ 'public' => $review->getPublicKey(), 'route' => $review->getRouteKey(), ], 'rating' => $review->rating, 'review' => $review->review, 'product_id' => $review->product_id, 'user_id' => $review->user_id, 'deleted_at' => $review->deleted_at, '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), ]; } }