public static function setupBeforeClass()
 {
     parent::setupBeforeClass();
     self::$redis = new \Redis();
     self::$redis->connect(getenv('REDIS_HOST'));
 }
 public static function setupBeforeClass()
 {
     parent::setupBeforeClass();
     self::$redis = new \Redis();
     self::$redis->connect('127.0.0.1');
 }
 public static function setupBeforeClass()
 {
     parent::setupBeforeClass();
     self::$redis = new \Predis\Client();
 }
Exemple #4
0
 public static function setupBeforeClass()
 {
     parent::setupBeforeClass();
     self::$redis = new \Predis\Client(array('host' => getenv('REDIS_HOST')));
 }