public function FlashBag::all 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::all()
Gets and clears flashes from the stack.
Return value
array
Overrides FlashBagInterface::all
2 calls to FlashBag::all()
- FlashBag::clear in vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php - Clears out data from bag.
- FlashBag::getIterator in vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php - Returns an iterator for flashes.
File
- vendor/
symfony/ http-foundation/ Session/ Flash/ FlashBag.php, line 113
Class
- FlashBag
- FlashBag flash message container.
Namespace
Symfony\Component\HttpFoundation\Session\FlashCode
public function all() {
$return = $this
->peekAll();
$this->flashes = array();
return $return;
}