[DoctrineBundle] set auto_generate_proxy_classes to true, false in prod

This commit is contained in:
Kevin Bond
2018-07-17 11:36:24 -04:00
parent d0d43ad89e
commit 82479bc7f4
2 changed files with 2 additions and 1 deletions
@@ -17,7 +17,7 @@ doctrine:
url: '%env(resolve:DATABASE_URL)%'
orm:
auto_generate_proxy_classes: '%kernel.debug%'
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
@@ -1,5 +1,6 @@
doctrine:
orm:
auto_generate_proxy_classes: false
metadata_cache_driver:
type: service
id: doctrine.system_cache_provider