$buyadds->getRouteKey(), 'key' => [ 'public' => $buyadds->getPublicKey(), 'route' => $buyadds->getRouteKey(), ], 'name' => $buyadds->name, 'type' => $buyadds->type, 'url' => [ 'public' => trans_url('buyadd/'.$buyadds->getPublicKey()), 'user' => guard_url('buyadd/buyadds/'.$buyadds->getRouteKey()), ], 'status' => trans('app.'.$buyadds->status), 'created_at' => format_date($buyadds->created_at), 'updated_at' => format_date($buyadds->updated_at), ]; } }