interface SessionBagInterface
Session Bag store.
@author Drak <drak@zikula.org>
Hierarchy
- interface \Symfony\Component\HttpFoundation\Session\SessionBagInterface
Expanded class hierarchy of SessionBagInterface
All classes that implement SessionBagInterface
7 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
File
-
vendor/
symfony/ http-foundation/ Session/ SessionBagInterface.php, line 19
Namespace
Symfony\Component\HttpFoundation\SessionView source
interface SessionBagInterface {
/**
* Gets this bag's name.
*/
public function getName() : string;
/**
* Initializes the Bag.
*/
public function initialize(array &$array) : void;
/**
* Gets the storage key for this bag.
*/
public function getStorageKey() : string;
/**
* Clears out data from bag.
*
* @return mixed Whatever data was contained
*/
public function clear() : mixed;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
SessionBagInterface::clear | public | function | Clears out data from bag. | 5 |
SessionBagInterface::getName | public | function | Gets this bag's name. | 5 |
SessionBagInterface::getStorageKey | public | function | Gets the storage key for this bag. | 5 |
SessionBagInterface::initialize | public | function | Initializes the Bag. | 5 |