Make writing relation count properties optional (#969)

* Make writing relation count properties optional

* Clean up description

* Add test for write_model_magic_where=false

* Add test for write_model_relation_count_properties=false
This commit is contained in:
Luka Schäfer
2020-06-23 22:27:43 +02:00
committed by GitHub
parent 6ec4f7baf9
commit cca99b6d25
6 changed files with 426 additions and 6 deletions
+11
View File
@@ -50,6 +50,17 @@ return array(
'write_model_magic_where' => true,
/*
|--------------------------------------------------------------------------
| Write Model relation count properties
|--------------------------------------------------------------------------
|
| Set to false to disable writing of relation count properties to model DocBlocks.
|
*/
'write_model_relation_count_properties' => true,
/*
|--------------------------------------------------------------------------
| Write Eloquent Model Mixins