public function AutoExpireFlashBag::all in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php \Symfony\Component\HttpFoundation\Session\Flash\AutoExpireFlashBag::all()
Gets and clears flashes from the stack.
Return value
array
Overrides FlashBagInterface::all
1 call to AutoExpireFlashBag::all()
- AutoExpireFlashBag::clear in vendor/
symfony/ http-foundation/ Session/ Flash/ AutoExpireFlashBag.php - Clears out data from bag.
File
- vendor/
symfony/ http-foundation/ Session/ Flash/ AutoExpireFlashBag.php, line 120
Class
- AutoExpireFlashBag
- AutoExpireFlashBag flash message container.
Namespace
Symfony\Component\HttpFoundation\Session\FlashCode
public function all() {
$return = $this->flashes['display'];
$this->flashes = array(
'new' => array(),
'display' => array(),
);
return $return;
}