mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 02:23:11 +00:00
Add additional directories
For #57 (and #58), tweak a bit. Make the input option an array, so commandline can also add multiple dirs. Add app/models to the config, prepend the base_path() to every dir.
This commit is contained in:
@@ -28,18 +28,20 @@ return array(
|
||||
'helper_files' => array(
|
||||
base_path().'/vendor/laravel/framework/src/Illuminate/Support/helpers.php',
|
||||
),
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Additional model locations to include
|
||||
| Model locations to include
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Include additional model locations Useful for if you have models
|
||||
| outside of the /app/models directory.
|
||||
| Define in which directories the ide-helper:models command should look
|
||||
| for models.
|
||||
|
|
||||
*/
|
||||
|
||||
'model_locations' => (),
|
||||
|
||||
'model_locations' => array(
|
||||
'app/models',
|
||||
),
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user