$cause->getRouteKey(), 'key' => [ 'public' => $cause->getPublicKey(), 'route' => $cause->getRouteKey(), ], 'id' => $cause->id, 'user_id' => $cause->user_id, 'start_date' => $cause->start_date, 'end_date' => $cause->end_date, 'work_area_id' => $cause->work_area_id, 'programme_id' => $cause->programme_id, 'activity_id' => $cause->activity_id, 'is_featured' => $cause->is_featured, 'fund_raised' => $cause->fund_raised, 'title' => $cause->title, 'description' => $cause->description, 'images' => $cause->images, 'videos' => $cause->videos, 'meta_title' => $cause->meta_title, 'meta_description' => $cause->meta_description, 'meta_keywords' => $cause->meta_keywords, 'hashtags' => $cause->hashtags, 'images_mobile' => $cause->images_mobile, 'created_at' => $cause->created_at, 'updated_at' => $cause->updated_at, 'deleted_at' => $cause->deleted_at, 'url' => [ 'public' => trans_url('cause/'.$cause->getPublicKey()), 'user' => guard_url('cause/cause/'.$cause->getRouteKey()), ], 'status' => trans('app.'.$cause->status), 'created_at' => format_date($cause->created_at), 'updated_at' => format_date($cause->updated_at), ]; } }