You are here

public function FlashBag::setAll 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::setAll()

Sets all flash messages.

Overrides FlashBagInterface::setAll

File

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

Class

FlashBag
FlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

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