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