add() add(\Symfony\Component\HttpFoundation\Session\Flash\string $type, mixed $message) Adds a flash message for the given type. Parameters \Symfony\Component\HttpFoundation\Session\Flash\string $type mixed $message
set() set(\Symfony\Component\HttpFoundation\Session\Flash\string $type, string|array $messages) Registers one or more messages for a given type. Parameters \Symfony\Component\HttpFoundation\Session\Flash\string $type string|array $messages
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(\Symfony\Component\HttpFoundation\Session\Flash\string $type, array $default = array()) : array Gets and clears flash from the stack. Parameters \Symfony\Component\HttpFoundation\Session\Flash\string $type array $default Default value if $type does not exist Returns array
has() has(\Symfony\Component\HttpFoundation\Session\Flash\string $type) : boolean Has flash messages for a given type? Parameters \Symfony\Component\HttpFoundation\Session\Flash\string $type Returns boolean