interface SessionBagInterface

Session Bag store.

@author Drak <drak@zikula.org>

Hierarchy

Expanded class hierarchy of SessionBagInterface

All classes that implement SessionBagInterface

7 files declare their use of SessionBagInterface
AttributeBagInterface.php in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBagInterface.php
FlashBagInterface.php in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php
MetadataBag.php in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php
MockArraySessionStorage.php in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php
NativeSessionStorage.php in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

... See full list

File

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

Namespace

Symfony\Component\HttpFoundation\Session
View source
interface SessionBagInterface {

  /**
   * Gets this bag's name
   *
   * @return string
   */
  public function getName();

  /**
   * Initializes the Bag
   *
   * @param array $array
   */
  public function initialize(array &$array);

  /**
   * Gets the storage key for this bag.
   *
   * @return string
   */
  public function getStorageKey();

  /**
   * Clears out data from bag.
   *
   * @return mixed Whatever data was contained.
   */
  public function clear();

}

Members

Namesort descending Modifiers Type Description Overrides
SessionBagInterface::clear public function Clears out data from bag. 4
SessionBagInterface::getName public function Gets this bag's name 4
SessionBagInterface::getStorageKey public function Gets the storage key for this bag. 4
SessionBagInterface::initialize public function Initializes the Bag 4