Tweak multiple models

Use array instead of comma seperated
This commit is contained in:
Barry vd. Heuvel
2014-02-07 10:05:51 +01:00
parent caeb0227b6
commit e6493fd9e8
2 changed files with 12 additions and 7 deletions
+4 -2
View File
@@ -75,11 +75,13 @@ With the `--reset (-R)` option, the existing phpdocs are ignored, only the newly
By default, models in app/models are scanned. The optional argument tells what models to use (also outside app/models).
php artisan ide-helper:models Post,User
php artisan ide-helper:models Post User
You can also scan a different directory, using the --dir option (relative from the base path):
php artisan ide-helper:models --dir="app/workbench/name/package/models"
php artisan ide-helper:models --dir="app/workbench/name/package/models" --dir="app/src/Model"
You can publish the config file (`php artisan config:publisb barryvdh/laravel-idehelper`) and set the default directories.
Models can be ignored using the --ignore (-I) option