Exemple #1
0
 /**
  * {@inheritDoc}
  */
 public function flushdb()
 {
     return $this->predis->flushdb();
 }
Exemple #2
0
 /**
  * {@inheritdoc}
  */
 protected function doFlush()
 {
     $response = $this->client->flushdb();
     return $response === true || $response == 'OK';
 }
Exemple #3
0
 protected function tearDown()
 {
     parent::tearDown();
     $this->client->flushdb();
 }