$toppartner->getRouteKey(), 'key' => [ 'public' => $toppartner->getPublicKey(), 'route' => $toppartner->getRouteKey(), ], 'name' => $toppartner->name, 'logo' => $toppartner->logo, 'year' => $toppartner->year, 'details' => $toppartner->details, 'slug' => $toppartner->slug, 'deleted_at' => $toppartner->deleted_at, 'url' => [ 'public' => trans_url('toppartner/'.$toppartner->getPublicKey()), 'user' => guard_url('toppartner/toppartner/'.$toppartner->getRouteKey()), ], 'status' => trans('app.'.$toppartner->status), 'created_at' => format_date($toppartner->created_at), 'updated_at' => format_date($toppartner->updated_at), ]; } }