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