You are here

public function AttributeBag::__construct in Zircon Profile 8

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

Constructor.

Parameters

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

1 call to AttributeBag::__construct()
NamespacedAttributeBag::__construct in vendor/symfony/http-foundation/Session/Attribute/NamespacedAttributeBag.php
Constructor.
1 method overrides AttributeBag::__construct()
NamespacedAttributeBag::__construct in vendor/symfony/http-foundation/Session/Attribute/NamespacedAttributeBag.php
Constructor.

File

vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php, line 36

Class

AttributeBag
This class relates to session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

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