Fix RedisBundle recipe to always work out of the box

The recipe should not be opinionated about using phpredis or predis as the bundle supports both.

Fixes #335
This commit is contained in:
Niels Keurentjes
2018-04-06 10:13:39 +02:00
committed by GitHub
parent f73468fb15
commit 6b16006c52
@@ -1,6 +1,12 @@
snc_redis:
clients:
default:
type: predis
alias: default
dsn: "%env(REDIS_URL)%"
# Define your clients here. The example below connects to database 0 of the default Redis server.
#
# See https://github.com/snc/SncRedisBundle/blob/master/Resources/doc/index.md for instructions on
# how to configure the bundle.
#
# default:
# type: predis
# alias: default
# dsn: "%env(REDIS_URL)%"