$property->getRouteKey(), 'key' => [ 'public' => $property->getPublicKey(), 'route' => $property->getRouteKey(), ], 'id' => $property->id, 'property_type' => $property->property_type, 'property_category' => $property->property_category, 'district' => $property->district, 'city' => $property->city, 'locality' => $property->locality, 'keyword' => $property->keyword, 'beds' => $property->beds, 'baths' => $property->baths, 'price' => $property->price, 'posted_by' => $property->posted_by, 'created_at' => $property->created_at, 'deleted_at' => $property->deleted_at, 'updated_at' => $property->updated_at, 'url' => [ 'public' => trans_url('property/'.$property->getPublicKey()), 'user' => guard_url('property/property/'.$property->getRouteKey()), ], 'status' => trans('app.'.$property->status), 'created_at' => format_date($property->created_at), 'updated_at' => format_date($property->updated_at), ]; } }