You are here

interface SessionBagInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/SessionBagInterface.php \Symfony\Component\HttpFoundation\Session\SessionBagInterface

Session Bag store.

@author Drak <drak@zikula.org>

Hierarchy

Expanded class hierarchy of SessionBagInterface

All classes that implement SessionBagInterface

6 files declare their use of SessionBagInterface
AttributeBagInterface.php in vendor/symfony/http-foundation/Session/Attribute/AttributeBagInterface.php
FlashBagInterface.php in vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php
MetadataBag.php in vendor/symfony/http-foundation/Session/Storage/MetadataBag.php
MockArraySessionStorage.php in vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php
NativeSessionStorage.php in vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php

... See full list

File

vendor/symfony/http-foundation/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