$sublocation->getRouteKey(), 'key' => [ 'public' => $sublocation->getPublicKey(), 'route' => $sublocation->getRouteKey(), ], 'country_id' => $sublocation->country_id, 'city_id' => $sublocation->city_id, 'location_id' => $sublocation->location_id, 'name' => $sublocation->name, 'code' => $sublocation->code, 'code_loc' => $sublocation->code_loc, 'text' => $sublocation->text, 'photos' => $sublocation->photos, 'floor_plans' => $sublocation->floor_plans, 'min_price' => $sublocation->min_price, 'max_price' => $sublocation->max_price, 'upload_folder' => $sublocation->upload_folder, ')' => $sublocation->), 'deleted_at' => $sublocation->deleted_at, 'url' => [ 'public' => trans_url('location/'.$sublocation->getPublicKey()), 'user' => guard_url('location/sublocation/'.$sublocation->getRouteKey()), ], 'status' => trans('app.'.$sublocation->status), 'created_at' => format_date($sublocation->created_at), 'updated_at' => format_date($sublocation->updated_at), ]; } }