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