Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface
FlashBagInterface.
- Author: Drak <drak@zikula.org>
Synopsis
interface FlashBagInterface
extends SessionBagInterface
{
- // methods
- public void add()
- public void set()
- public array peek()
- public array peekAll()
- public array get()
- public array all()
- public void setAll()
- public boolean has()
- public array keys()
- // Inherited methods from SessionBagInterface
- public string getName()
- public void initialize()
- public string getStorageKey()
- public mixed clear()
Hierarchy
Extends
Implemented by
Methods
public
- add() — Adds a flash message for type.
- all() — Gets and clears flashes from the stack.
- get() — Gets and clears flash from the stack.
- has() — Has flash messages for a given type?
- keys() — Returns a list of all defined types.
- peek() — Gets flash messages for a given type.
- peekAll() — Gets all flash messages.
- set() — Registers a message for a given type.
- setAll() — Sets all flash messages.
Inherited from Symfony\Component\HttpFoundation\Session\SessionBagInterface
public
- clear() — Clears out data from bag.
- getName() — Gets this bag's name
- getStorageKey() — Gets the storage key for this bag.
- initialize() — Initializes the Bag