$campaign_volunteer->getRouteKey(), 'key' => [ 'public' => $campaign_volunteer->getPublicKey(), 'route' => $campaign_volunteer->getRouteKey(), ], 'id' => $campaign_volunteer->id, 'campaign_id' => $campaign_volunteer->campaign_id, 'volunteer_id' => $campaign_volunteer->volunteer_id, 'updated_at' => $campaign_volunteer->updated_at, 'created_at' => $campaign_volunteer->created_at, 'deleted_at' => $campaign_volunteer->deleted_at, 'url' => [ 'public' => trans_url('campaign/'.$campaign_volunteer->getPublicKey()), 'user' => guard_url('campaign/campaign_volunteer/'.$campaign_volunteer->getRouteKey()), ], 'status' => trans('app.'.$campaign_volunteer->status), 'created_at' => format_date($campaign_volunteer->created_at), 'updated_at' => format_date($campaign_volunteer->updated_at), ]; } }