You are here

public function AutoExpireFlashBag::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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;
}