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