public function FlashBag::__construct

Constructor.

Parameters

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

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php, line 42

Class

FlashBag
FlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

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