$seller->getRouteKey(), 'key' => [ 'public' => $seller->getPublicKey(), 'route' => $seller->getRouteKey(), ], 'user_id' => $seller->user_id, 'image' => $seller->image, 'name' => $seller->name, 'phone' => $seller->phone, 'email' => $seller->email, 'address' => $seller->address, 'city' => $seller->city, 'state' => $seller->state, 'postal_code' => $seller->postal_code, 'country' => $seller->country, 'description' => $seller->description, 'speciality' => $seller->speciality, 'userRatingTotal' => $seller->userRatingTotal, 'productRatingTotal' => $seller->productRatingTotal, 'url' => [ 'public' => trans_url('seller/'.$seller->getPublicKey()), 'user' => guard_url('seller/seller/'.$seller->getRouteKey()), ], 'status' => trans('app.'.$seller->status), 'created_at' => format_date($seller->created_at), 'updated_at' => format_date($seller->updated_at), ]; } }