$preference->getRouteKey(), 'key' => [ 'public' => $preference->getPublicKey(), 'route' => $preference->getRouteKey(), ], 'id' => $preference->id, 'profile_id' => $preference->profile_id, 'marital_status' => $preference->marital_status, 'min_age' => $preference->min_age, 'max_age' => $preference->max_age, 'country' => $preference->country, 'state' => $preference->state, 'city' => $preference->city, 'mothertongue' => $preference->mothertongue, 'religion' => $preference->religion, 'caste' => $preference->caste, 'subcaste' => $preference->subcaste, 'min_height' => $preference->min_height, 'max_height' => $preference->max_height, 'physical_status' => $preference->physical_status, 'education' => $preference->education, 'employment_type' => $preference->employment_type, 'occupation' => $preference->occupation, 'star' => $preference->star, 'raasi' => $preference->raasi, 'dosham' => $preference->dosham, 'food_habits' => $preference->food_habits, 'smoking' => $preference->smoking, 'drinking' => $preference->drinking, 'created_at' => $preference->created_at, 'updated_at' => $preference->updated_at, 'deleted_at' => $preference->deleted_at, 'url' => [ 'public' => trans_url('matrimony/'.$preference->getPublicKey()), 'user' => guard_url('matrimony/preference/'.$preference->getRouteKey()), ], 'status' => trans('app.'.$preference->status), 'created_at' => format_date($preference->created_at), 'updated_at' => format_date($preference->updated_at), ]; } }