__construct() __construct(string $storageKey = '_sf2_flashes') Parameters string $storageKey The key used to store flashes in the session
add() add(string $type, string $message) Adds a flash message for type. Parameters string $type string $message
peek() peek(string $type, array $default = array()) : array Gets flash messages for a given type. Parameters string $type Message category type array $default Default value if $type does not exist Returns array
get() get(string $type, array $default = array()) : array Gets and clears flash from the stack. Parameters string $type array $default Default value if $type does not exist Returns array
set() set(string $type, $messages) Registers a message for a given type. Parameters string $type $messages
has() has(string $type) : boolean Has flash messages for a given type? Parameters string $type Returns boolean