widget = $widget; $this->request = $this->getRequestInstance($request); } /** * Execute the job. * * @return Item */ public function handle() { \DB::transaction(function () { $this->widget->update($this->request->all()); }); return $this->widget; } }