protected function MockFileSessionStorageTest::tearDown

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php, line 41

Class

MockFileSessionStorageTest
Test class for MockFileSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

protected function tearDown() {
  $this->sessionDir = null;
  $this->storage = null;
  array_map('unlink', glob($this->sessionDir . '/*.session'));
  if (is_dir($this->sessionDir)) {
    rmdir($this->sessionDir);
  }
}