Skip to content

Commit

Permalink
Update config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored Aug 15, 2018
1 parent ac98742 commit 89f0c9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
base_path('app'),
],

/*
* If you want to ignore complete models or certain relations of a specific model,
* you can specify them here.
* To ignore a model completely, just add the fully qualified classname.
* To ignore only a certain relation of a model, enter the classname as the key
* and an array of relation names to ignore.
*/
'ignore' => [
// User::class,
// Post::class => [
// 'user'
// ]
],

/*
* If true, all directories specified will be scanned recursively for models.
* Set this to false if you prefer to explicitly define each directory that should
Expand Down

0 comments on commit 89f0c9b

Please sign in to comment.