public function SessionInterface::registerBag

Registers a SessionBagInterface with the session.

Parameters

SessionBagInterface $bag:

1 method overrides SessionInterface::registerBag()
Session::registerBag in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php
Registers a SessionBagInterface with the session.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/SessionInterface.php, line 191

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function registerBag(SessionBagInterface $bag);