示例#1
0
 /**
  * {@inheritDoc}
  */
 public function flushdb()
 {
     return $this->predis->flushdb();
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 protected function doFlush()
 {
     $response = $this->client->flushdb();
     return $response === true || $response == 'OK';
 }
示例#3
0
文件: PredisTest.php 项目: gmo/cache
 protected function tearDown()
 {
     parent::tearDown();
     $this->client->flushdb();
 }