SessionBagInterface
in
Session Bag store.
Tags
Table of Contents
- clear() : mixed
- Clears out data from bag.
- getName() : string
- Gets this bag's name.
- getStorageKey() : string
- Gets the storage key for this bag.
- initialize() : mixed
- Initializes the Bag.
Methods
clear()
Clears out data from bag.
public
clear() : mixed
Return values
mixed —Whatever data was contained
getName()
Gets this bag's name.
public
getName() : string
Return values
string —getStorageKey()
Gets the storage key for this bag.
public
getStorageKey() : string
Return values
string —initialize()
Initializes the Bag.
public
initialize(array<string|int, mixed> &$array) : mixed
Parameters
- $array : array<string|int, mixed>