doctrine.yaml 925 B

1234567891011121314151617181920212223242526272829303132
  1. doctrine:
  2. orm:
  3. auto_generate_proxy_classes: false
  4. metadata_cache_driver:
  5. type: service
  6. id: doctrine.system_cache_provider
  7. query_cache_driver:
  8. type: service
  9. id: doctrine.system_cache_provider
  10. result_cache_driver:
  11. type: service
  12. id: doctrine.result_cache_provider
  13. services:
  14. doctrine.result_cache_provider:
  15. class: Symfony\Component\Cache\DoctrineProvider
  16. public: false
  17. arguments:
  18. - '@doctrine.result_cache_pool'
  19. doctrine.system_cache_provider:
  20. class: Symfony\Component\Cache\DoctrineProvider
  21. public: false
  22. arguments:
  23. - '@doctrine.system_cache_pool'
  24. framework:
  25. cache:
  26. pools:
  27. doctrine.result_cache_pool:
  28. adapter: cache.app
  29. doctrine.system_cache_pool:
  30. adapter: cache.system