You are here

public function SessionInterface::registerBag in Zircon Profile 8.0

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

Registers a SessionBagInterface with the session.

Parameters

SessionBagInterface $bag:

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

File

vendor/symfony/http-foundation/Session/SessionInterface.php, line 165

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function registerBag(SessionBagInterface $bag);