You are here

protected function PhpBridgeSessionStorageTest::tearDown in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/PhpBridgeSessionStorageTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\PhpBridgeSessionStorageTest::tearDown()

File

vendor/symfony/http-foundation/Tests/Session/Storage/PhpBridgeSessionStorageTest.php, line 40

Class

PhpBridgeSessionStorageTest
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;
}