From 99269ac0751416cafd2144df5d6a2d43d39ea5bf Mon Sep 17 00:00:00 2001 From: naitsirch Date: Mon, 9 May 2022 13:12:17 +0200 Subject: [PATCH] Added naming_strategy option to doctrine config reference --- reference/configuration/doctrine.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 3d2435e73a0..b65b24081dd 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -182,6 +182,7 @@ that the ORM resolves to: metadata_cache_driver: array query_cache_driver: array result_cache_driver: array + naming_strategy: doctrine.orm.naming_strategy.default There are lots of other configuration options that you can use to overwrite certain classes, but those are for very advanced use-cases only. @@ -207,6 +208,7 @@ can be placed directly under ``doctrine.orm`` config level. class_metadata_factory_name: Doctrine\ORM\Mapping\ClassMetadataFactory default_repository_class: Doctrine\ORM\EntityRepository auto_mapping: false + naming_strategy: doctrine.orm.naming_strategy.default hydrators: # ... mappings: