You are here

protected function NativeSessionStorageTest::getStorage in Zircon Profile 8.0

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

Parameters

array $options:

Return value

NativeSessionStorage

12 calls to NativeSessionStorageTest::getStorage()
NativeSessionStorageTest::testBag in vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php
NativeSessionStorageTest::testCookieOptions in vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php
NativeSessionStorageTest::testGetId in vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php
NativeSessionStorageTest::testRegenerate in vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php
NativeSessionStorageTest::testRegenerateDestroy in vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php

... See full list

File

vendor/symfony/http-foundation/Tests/Session/Storage/NativeSessionStorageTest.php, line 61

Class

NativeSessionStorageTest
Test class for NativeSessionStorage.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

protected function getStorage(array $options = array()) {
  $storage = new NativeSessionStorage($options);
  $storage
    ->registerBag(new AttributeBag());
  return $storage;
}