You are here

public function AutoExpireFlashBag::setAll in Zircon Profile 8.0

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

Sets all flash messages.

Overrides FlashBagInterface::setAll

File

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

Class

AutoExpireFlashBag
AutoExpireFlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function setAll(array $messages) {
  $this->flashes['new'] = $messages;
}