$advertisement->getRouteKey(), 'key' => [ 'public' => $advertisement->getPublicKey(), 'route' => $advertisement->getRouteKey(), ], 'category_id' => $advertisement->category_id, 'sub_category_id' => $advertisement->sub_category_id, 'state_id' => $advertisement->state_id, 'city_id' => $advertisement->city_id, 'user_id' => $advertisement->user_id, 'user_type' => $advertisement->user_type, 'name' => $advertisement->name, 'description' => $advertisement->description, 'images' => $advertisement->images, 'data' => $advertisement->data, 'price' => $advertisement->price, 'tags' => $advertisement->tags, 'contact_information' => $advertisement->contact_information, 'cotact_status' => $advertisement->cotact_status, 'slug' => $advertisement->slug, 'deleted_at' => $advertisement->deleted_at, 'url' => [ 'public' => trans_url('advertisement/'.$advertisement->getPublicKey()), 'user' => guard_url('advertisement/advertisement/'.$advertisement->getRouteKey()), ], 'status' => trans('app.'.$advertisement->status), 'created_at' => format_date($advertisement->created_at), 'updated_at' => format_date($advertisement->updated_at), ]; } }