$attendee->getRouteKey(), 'key' => [ 'public' => $attendee->getPublicKey(), 'route' => $attendee->getRouteKey(), ], 'parent_id' => $attendee->parent_id, 'parent_type' => $attendee->parent_type, 'name' => $attendee->name, 'details' => $attendee->details, 'user_id' => $attendee->user_id, 'user_type' => $attendee->user_type, 'deleted_at' => $attendee->deleted_at, 'url' => [ 'public' => trans_url('activity/'.$attendee->getPublicKey()), 'user' => guard_url('activity/attendee/'.$attendee->getRouteKey()), ], 'status' => trans('app.'.$attendee->status), 'created_at' => format_date($attendee->created_at), 'updated_at' => format_date($attendee->updated_at), ]; } }