public function SessionStorageInterface::registerBag

Registers a SessionBagInterface for use.

Parameters

SessionBagInterface $bag:

2 methods override SessionStorageInterface::registerBag()
MockArraySessionStorage::registerBag in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php
Registers a SessionBagInterface for use.
NativeSessionStorage::registerBag in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
Registers a SessionBagInterface for use.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php, line 140

Class

SessionStorageInterface
StorageInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function registerBag(SessionBagInterface $bag);