You are here

public function SessionStorageInterface::registerBag in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Storage/SessionStorageInterface.php \Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface::registerBag()

Registers a SessionBagInterface for use.

Parameters

SessionBagInterface $bag:

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

File

vendor/symfony/http-foundation/Session/Storage/SessionStorageInterface.php, line 133

Class

SessionStorageInterface
StorageInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function registerBag(SessionBagInterface $bag);