public function FlashBag::clear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Flash/FlashBag.php \Symfony\Component\HttpFoundation\Session\Flash\FlashBag::clear()
Clears out data from bag.
Return value
mixed Whatever data was contained.
Overrides SessionBagInterface::clear
File
- vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php, line 164
Class
- FlashBag
- FlashBag flash message container.
Namespace
Symfony\Component\HttpFoundation\Session\FlashCode
public function clear() {
return $this
->all();
}