$partner->getRouteKey(), 'key' => [ 'public' => $partner->getPublicKey(), 'route' => $partner->getRouteKey(), ], 'id' => $partner->id, 'title' => $partner->title, 'icon' => $partner->icon, 'heading' => $partner->heading, 'description' => $partner->description, 'image' => $partner->image, 'slug' => $partner->slug, 'deleted_at' => $partner->deleted_at, 'created_at' => $partner->created_at, 'updated_at' => $partner->updated_at, 'url' => [ 'public' => trans_url('partner/'.$partner->getPublicKey()), 'user' => guard_url('partner/partner/'.$partner->getRouteKey()), ], 'status' => trans('app.'.$partner->status), 'created_at' => format_date($partner->created_at), 'updated_at' => format_date($partner->updated_at), ]; } }