private function MockFileSessionStorageTest::getStorage

3 calls to MockFileSessionStorageTest::getStorage()
MockFileSessionStorageTest::setUp in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php
MockFileSessionStorageTest::testMultipleInstances in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php
MockFileSessionStorageTest::testSave in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/MockFileSessionStorageTest.php

File

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

Class

MockFileSessionStorageTest
Test class for MockFileSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

private function getStorage() {
  $storage = new MockFileSessionStorage($this->sessionDir);
  $storage
    ->registerBag(new FlashBag());
  $storage
    ->registerBag(new AttributeBag());
  return $storage;
}