public function AutoExpireFlashBag::__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/AutoExpireFlashBag.php, line 42

Class

AutoExpireFlashBag
AutoExpireFlashBag flash message container.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function __construct($storageKey = '_sf2_flashes') {
  $this->storageKey = $storageKey;
  $this->flashes = array(
    'display' => array(),
    'new' => array(),
  );
}