@@documentation@@ public function update(@@requestClass@@ $request, @@modelName@@ $@@modelNameParam@@) { $@@modelNameParam@@->fill($request->all()); if ($@@modelNameParam@@->save()) { return $this->response->item($@@modelNameParam@@, new @@transformer@@()); } else { return $this->response->errorInternal('Error occurred while saving @@modelName@@'); } }