protected function NativeSessionStorageTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\NativeSessionStorageTest::setUp()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ NativeSessionStorageTest.php, line 36
Class
- NativeSessionStorageTest
- Test class for NativeSessionStorage.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\StorageCode
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);
}
}