doctrine.yaml 882 B

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