Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. 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
Powered by Drupal