public function SessionInterface::getBag

Gets a bag instance by name.

Parameters

string $name:

Return value

SessionBagInterface

1 method overrides SessionInterface::getBag()
Session::getBag in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php
Gets a bag instance by name.

File

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

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function getBag($name);