Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface::get
Gets and clears flash from the stack.
Signature
public function get(string
$type,
array
$default )
Parameters
$type
— string$default
— array- Default value if $type does not exist.
Returns
- array