$buyadetails->getRouteKey(), 'key' => [ 'public' => $buyadetails->getPublicKey(), 'route' => $buyadetails->getRouteKey(), ], 'ad_banner' => $buyadetails->ad_banner, 'banner_imp_etc' => $buyadetails->banner_imp_etc, 'url' => [ 'public' => trans_url('buyadetail/'.$buyadetails->getPublicKey()), 'user' => guard_url('buyadetail/buyadetails/'.$buyadetails->getRouteKey()), ], 'status' => trans('app.'.$buyadetails->status), 'created_at' => format_date($buyadetails->created_at), 'updated_at' => format_date($buyadetails->updated_at), ]; } }