You are here

protected function PhpBridgeSessionStorageTest::setUp in Zircon Profile 8.0

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

File

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

Class

PhpBridgeSessionStorageTest
Test class for PhpSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

protected function setUp() {
  $this
    ->iniSet('session.save_handler', 'files');
  $this
    ->iniSet('session.save_path', $this->savePath = sys_get_temp_dir() . '/sf2test');
  if (!is_dir($this->savePath)) {
    mkdir($this->savePath);
  }
}