Skip to content

Instantly share code, notes, and snippets.

@fdubost
Created December 18, 2013 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fdubost/8025640 to your computer and use it in GitHub Desktop.
Save fdubost/8025640 to your computer and use it in GitHub Desktop.
Use RedisMock in Symfony v2
services:
m6web_redismock_factory:
class: M6Web\Component\RedisMock\RedisMockFactory
my_redis_service_name:
class: M6Web\Component\RedisMock\RedisMock
factory_service: m6web_redismock_factory
factory_method: getAdapter
arguments:
- "My\Redis\Library"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment