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