$search_log->getRouteKey(), 'key' => [ 'public' => $search_log->getPublicKey(), 'route' => $search_log->getRouteKey(), ], 'name' => $search_log->name, 'country' => $search_log->country, 'ip_address' => $search_log->ip_address, 'details' => $search_log->details, 'slug' => $search_log->slug, 'user_id' => $search_log->user_id, 'user_type' => $search_log->user_type, 'deteted_at' => $search_log->deteted_at, 'url' => [ 'public' => trans_url('search_log/'.$search_log->getPublicKey()), 'user' => guard_url('search_log/search_log/'.$search_log->getRouteKey()), ], 'status' => trans('app.'.$search_log->status), 'created_at' => format_date($search_log->created_at), 'updated_at' => format_date($search_log->updated_at), ]; } }