$projectdata->getRouteKey(), 'key' => [ 'public' => $projectdata->getPublicKey(), 'route' => $projectdata->getRouteKey(), ], 'name' => $projectdata->name, 'description' => $projectdata->description, 'image' => $projectdata->image, 'url' => [ 'public' => trans_url('projectdatum/'.$projectdata->getPublicKey()), 'user' => guard_url('projectdatum/projectdata/'.$projectdata->getRouteKey()), ], 'status' => trans('app.'.$projectdata->status), 'created_at' => format_date($projectdata->created_at), 'updated_at' => format_date($projectdata->updated_at), ]; } }