diff --git a/readme.md b/readme.md index aea6725..c042bb1 100644 --- a/readme.md +++ b/readme.md @@ -52,9 +52,8 @@ The Illuminate/Support/helpers.php is already set-up, but you can add/remove you If you don't want to write your properties yourself, you can use the command `ide-helper:models` to generate phpDocs, based on table columns, relations and getters/setters. Still in beta, so please provide feedback if you want. -Docs are written to a phpfile (_ide_helper_models.php) in the root of the project, so you can move the docs to the real model. - -You can now also write the comments directly to your Model file, using the `--write (-W)` option. Please make sure to backup your models, before writing the info. +You can now also write the comments directly to your Model file, using the `--write (-W)` option. By default, you are asked to overwrite or +write to a seperate file (_ide_helper_models.php) Please make sure to backup your models, before writing the info. It should keep the existing comments and only append new properties/methods. The existing phpdoc is replaced, or added if not found. With the `--reset (-R)` option, the existing phpdocs are ignored, only the newly found columns/relations are saved as phpdocs.