$scheduler->getRouteKey(), 'key' => [ 'public' => $scheduler->getPublicKey(), 'route' => $scheduler->getRouteKey(), ], 'company_id' => $scheduler->company_id, 'batch_id' => $scheduler->batch_id, 'module' => $scheduler->module, 'type' => $scheduler->type, 'file' => $scheduler->file, 'user_id' => $scheduler->user_id, 'user_type' => $scheduler->user_type, 'deleted_at' => $scheduler->deleted_at, 'url' => [ 'public' => trans_url('scheduler/'.$scheduler->getPublicKey()), 'user' => guard_url('scheduler/scheduler/'.$scheduler->getRouteKey()), ], 'status' => trans('app.'.$scheduler->status), 'created_at' => format_date($scheduler->created_at), 'updated_at' => format_date($scheduler->updated_at), ]; } }