Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
SessionInterface.php
function SessionInterface::getBag
Gets a bag instance by name.
1 method overrides
SessionInterface::getBag()
Session::getBag
in vendor/
symfony/
http-foundation/
Session/
Session.php
Gets a bag instance by name.
File
vendor/
symfony/
http-foundation/
Session/
SessionInterface.php
, line 134
Class
SessionInterface
Interface for the session.
Namespace
Symfony\Component\HttpFoundation\Session
Code
public
function
getBag
(string
$name
) : SessionBagInterface;
RSS feed