You are here

public function MemcacheCacheTest::tearDown in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MemcacheCacheTest.php \Doctrine\Tests\Common\Cache\MemcacheCacheTest::tearDown()

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MemcacheCacheTest.php, line 26

Class

MemcacheCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function tearDown() {
  if ($this->memcache instanceof Memcache) {
    $this->memcache
      ->flush();
  }
}