You are here

public function FlashBag::peekAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Flash/FlashBag.php \Symfony\Component\HttpFoundation\Session\Flash\FlashBag::peekAll()

Gets all flash messages.

Return value

array

Overrides FlashBagInterface::peekAll

1 call to FlashBag::peekAll()
FlashBag::all in vendor/symfony/http-foundation/Session/Flash/FlashBag.php
Gets and clears flashes from the stack.

File

vendor/symfony/http-foundation/Session/Flash/FlashBag.php, line 89

Class

FlashBag
FlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function peekAll() {
  return $this->flashes;
}