class FlashBag implements FlashBagInterface
FlashBag flash message container.
Methods
__construct(string $storageKey = '_sf2_flashes') Constructor.
string getName() Gets this bag's name.
setName($name)
initialize(array $flashes) Initializes the Bag.
add(string $type, string $message) Adds a flash message for type.
array peek(string $type, array $default = array()) Gets flash messages for a given type.
array peekAll() Gets all flash messages.
array get(