You are here

public function MongoDBCacheTest::tearDown in Zircon Profile 8

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

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MongoDBCacheTest.php, line 27

Class

MongoDBCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function tearDown() {
  if ($this->collection instanceof MongoCollection) {
    $this->collection
      ->drop();
  }
}