services:
    oro.cache.doctrine.redis_provider:
        class: 'Symfony\Component\Cache\Adapter\RedisAdapter'
        factory: '@oro_redis_config.redis_connection_factory'
        public: true
        arguments:
            - '%redis_dsn_doctrine%'

    oro.doctrine.abstract:
        abstract: true
        class: Symfony\Component\Cache\Adapter\RedisAdapter
        arguments:
          - '@oro.cache.doctrine.redis_provider'
