You are here

public function AutoExpireFlashBag::peekAll in Zircon Profile 8

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

Gets all flash messages.

Return value

array

Overrides FlashBagInterface::peekAll

File

vendor/symfony/http-foundation/Session/Flash/AutoExpireFlashBag.php, line 93

Class

AutoExpireFlashBag
AutoExpireFlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function peekAll() {
  return array_key_exists('display', $this->flashes) ? (array) $this->flashes['display'] : array();
}