protected function PhpSessionStorageTest::tearDown

File

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

Class

PhpSessionStorageTest
Test class for PhpSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

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