Last active
December 31, 2015 18:09
-
-
Save fdubost/8025392 to your computer and use it in GitHub Desktop.
Create a Redis mock adapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$factory = new \M6Web\Component\RedisMock\RedisMockFactory(); | |
$myRedisMockClass = $factory->getAdapterClass('My\Redis\Library'); | |
$myRedisMock = new $myRedisMockClass($myParameters); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment