$campaign->getRouteKey(), 'key' => [ 'public' => $campaign->getPublicKey(), 'route' => $campaign->getRouteKey(), ], 'id' => $campaign->id, 'user_id' => $campaign->user_id, 'start_date' => $campaign->start_date, 'end_date' => $campaign->end_date, 'work_area' => $campaign->work_area, 'programme' => $campaign->programme, 'activity_area' => $campaign->activity_area, 'is_featured' => $campaign->is_featured, 'title' => $campaign->title, 'description' => $campaign->description, 'images' => $campaign->images, 'videos' => $campaign->videos, 'fund_raised' => $campaign->fund_raised, 'is_special' => $campaign->is_special, 'category_id' => $campaign->category_id, 'sub_category_id' => $campaign->sub_category_id, 'donation_amount' => $campaign->donation_amount, 'keyword' => $campaign->keyword, 'created_at' => $campaign->created_at, 'updated_at' => $campaign->updated_at, 'deleted_at' => $campaign->deleted_at, 'url' => [ 'public' => trans_url('campaign/'.$campaign->getPublicKey()), 'user' => guard_url('campaign/campaign/'.$campaign->getRouteKey()), ], 'status' => trans('app.'.$campaign->status), 'created_at' => format_date($campaign->created_at), 'updated_at' => format_date($campaign->updated_at), ]; } }