$addetails->getRouteKey(), 'key' => [ 'public' => $addetails->getPublicKey(), 'route' => $addetails->getRouteKey(), ], 'ad_intro' => $addetails->ad_intro, 'url' => $addetails->url, 'ad_banner' => $addetails->ad_banner, 'camp_setup' => $addetails->camp_setup, 'description' => $addetails->description, 'url' => [ 'public' => trans_url('addetail/'.$addetails->getPublicKey()), 'user' => guard_url('addetail/addetails/'.$addetails->getRouteKey()), ], 'status' => trans('app.'.$addetails->status), 'created_at' => format_date($addetails->created_at), 'updated_at' => format_date($addetails->updated_at), ]; } }