doctrine:
    orm:
        # SF6 + doctrine-bundle: i cache driver usano direttamente i pool PSR-6
        # (il bridge Symfony\Component\Cache\DoctrineProvider e stato rimosso in SF6).
        metadata_cache_driver:
            type: pool
            pool: doctrine.system_cache_pool
        query_cache_driver:
            type: pool
            pool: doctrine.system_cache_pool
        result_cache_driver:
            type: pool
            pool: doctrine.result_cache_pool

framework:
    cache:
        pools:
            doctrine.result_cache_pool:
                adapter: cache.app
            doctrine.system_cache_pool:
                adapter: cache.system
