Skip to content

Commit 89f0c9b

Browse files
authored
Update config.php
1 parent ac98742 commit 89f0c9b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

config/config.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@
1010
base_path('app'),
1111
],
1212

13+
/*
14+
* If you want to ignore complete models or certain relations of a specific model,
15+
* you can specify them here.
16+
* To ignore a model completely, just add the fully qualified classname.
17+
* To ignore only a certain relation of a model, enter the classname as the key
18+
* and an array of relation names to ignore.
19+
*/
20+
'ignore' => [
21+
// User::class,
22+
// Post::class => [
23+
// 'user'
24+
// ]
25+
],
26+
1327
/*
1428
* If true, all directories specified will be scanned recursively for models.
1529
* Set this to false if you prefer to explicitly define each directory that should

0 commit comments

Comments
 (0)