$suggestions->getRouteKey(), 'key' => [ 'public' => $suggestions->getPublicKey(), 'route' => $suggestions->getRouteKey(), ], 'name' => $suggestions->name, 'description' => $suggestions->description, 'executions_amount' => $suggestions->executions_amount, 'min_participants' => $suggestions->min_participants, 'max_participants' => $suggestions->max_participants, 'cost' => $suggestions->cost, 'available_dates' => $suggestions->available_dates, 'relevant_classes' => $suggestions->relevant_classes, 'preferred_time' => $suggestions->preferred_time, 'created_by' => $suggestions->created_by, 'verified' => $suggestions->verified, 'upvotes' => $suggestions->upvotes, 'downvotes' => $suggestions->downvotes, 'user_id' => $suggestions->user_id, 'user_type' => $suggestions->user_type, 'slug' => $suggestions->slug, 'url' => [ 'public' => trans_url('suggestion/'.$suggestions->getPublicKey()), 'user' => guard_url('suggestion/suggestions/'.$suggestions->getRouteKey()), ], 'status' => trans('app.'.$suggestions->status), 'created_at' => format_date($suggestions->created_at), 'updated_at' => format_date($suggestions->updated_at), ]; } }