You are here

public function AutoExpireFlashBag::__construct in Zircon Profile 8

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

Constructor.

Parameters

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

File

vendor/symfony/http-foundation/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;
}