$report->getRouteKey(), 'key' => [ 'public' => $report->getPublicKey(), 'route' => $report->getRouteKey(), ], 'user_id' => $report->user_id, 'name' => $report->name, 'json' => $report->json, 'type' => $report->type, 'deleted_at' => $report->deleted_at, 'url' => [ 'public' => trans_url('report/'.$report->getPublicKey()), 'user' => guard_url('report/report/'.$report->getRouteKey()), ], 'status' => trans('app.'.$report->status), 'created_at' => format_date($report->created_at), 'updated_at' => format_date($report->updated_at), ]; } }