public function NamespacedAttributeBag::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Session/Attribute/NamespacedAttributeBag.php \Symfony\Component\HttpFoundation\Session\Attribute\NamespacedAttributeBag::__construct()
Constructor.
Parameters
string $storageKey Session storage key.:
string $namespaceCharacter Namespace character to use in keys.:
Overrides AttributeBag::__construct
File
- vendor/
symfony/ http-foundation/ Session/ Attribute/ NamespacedAttributeBag.php, line 35
Class
- NamespacedAttributeBag
- This class provides structured storage of session attributes using a name spacing character in the key.
Namespace
Symfony\Component\HttpFoundation\Session\AttributeCode
public function __construct($storageKey = '_sf2_attributes', $namespaceCharacter = '/') {
$this->namespaceCharacter = $namespaceCharacter;
parent::__construct($storageKey);
}