From 89f0c9b1641bcf2b219c98c33b9fb89804d270ce Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Wed, 15 Aug 2018 09:58:36 +0200 Subject: [PATCH] Update config.php --- config/config.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/config.php b/config/config.php index f57b860..0d8e346 100644 --- a/config/config.php +++ b/config/config.php @@ -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