示例#1
0
 public function setUp()
 {
     parent::setUp();
     // Don't forget this!
     $this->redis = \RedisLV4::connection();
     $this->redis->flushall();
     $this->prepareForTests();
 }
示例#2
0
 public function boot()
 {
     if (is_null($this->redis)) {
         $this->redis = \RedisLV4::connection();
     }
 }