$reviews->getRouteKey(), 'key' => [ 'public' => $reviews->getPublicKey(), 'route' => $reviews->getRouteKey(), ], 'name' => $reviews->name, 'designation' => $reviews->designation, 'message' => $reviews->message, 'image' => $reviews->image, 'url' => [ 'public' => trans_url('review/'.$reviews->getPublicKey()), 'user' => guard_url('review/reviews/'.$reviews->getRouteKey()), ], 'status' => trans('app.'.$reviews->status), 'created_at' => format_date($reviews->created_at), 'updated_at' => format_date($reviews->updated_at), ]; } }