You are here

private function MockFileSessionStorageTest::getStorage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/Session/Storage/MockFileSessionStorageTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\MockFileSessionStorageTest::getStorage()
4 calls to MockFileSessionStorageTest::getStorage()
MockFileSessionStorageTest::setUp in vendor/symfony/http-foundation/Tests/Session/Storage/MockFileSessionStorageTest.php
MockFileSessionStorageTest::testMultipleInstances in vendor/symfony/http-foundation/Tests/Session/Storage/MockFileSessionStorageTest.php
MockFileSessionStorageTest::testSave in vendor/symfony/http-foundation/Tests/Session/Storage/MockFileSessionStorageTest.php
MockFileSessionStorageTest::testSaveWithoutStart in vendor/symfony/http-foundation/Tests/Session/Storage/MockFileSessionStorageTest.php
@expectedException \RuntimeException

File

vendor/symfony/http-foundation/Tests/Session/Storage/MockFileSessionStorageTest.php, line 118

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