You are here

public function MemcachedCacheTest::tearDown in Zircon Profile 8.0

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

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MemcachedCacheTest.php, line 28

Class

MemcachedCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function tearDown() {
  if ($this->memcached instanceof Memcached) {
    $this->memcached
      ->flush();
  }
}