You are here

public function FlashBag::__construct in Zircon Profile 8.0

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

Constructor.

Parameters

string $storageKey The key used to store flashes in the session.:

File

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

Class

FlashBag
FlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function __construct($storageKey = '_sf2_flashes') {
  $this->storageKey = $storageKey;
}