$activity_project->getRouteKey(), 'key' => [ 'public' => $activity_project->getPublicKey(), 'route' => $activity_project->getRouteKey(), ], 'id' => $activity_project->id, 'activity_id' => $activity_project->activity_id, 'project_id' => $activity_project->project_id, 'url' => [ 'public' => trans_url('act/'.$activity_project->getPublicKey()), 'user' => guard_url('act/activity_project/'.$activity_project->getRouteKey()), ], 'status' => trans('app.'.$activity_project->status), 'created_at' => format_date($activity_project->created_at), 'updated_at' => format_date($activity_project->updated_at), ]; } }