dflydev / dflydev-doctrine-orm-service-provider

Doctrine ORM Service Provider
MIT License
209 stars 59 forks source link

Add auth cache option for Redis #48

Closed bc-luke closed 9 years ago

bc-luke commented 9 years ago

In order to authenticate with the Redis server prior to sending commands, Redis::auth() must be invoked. This change enhances the 'orm.cache.factory.redis' factory to recognise the 'password' option, which, if provided, is passed into Redis::auth().