public function MetadataBag::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/http-foundation/Session/Storage/MetadataBag.php \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag::__construct()
- 8 core/lib/Drupal/Core/Session/MetadataBag.php \Drupal\Core\Session\MetadataBag::__construct()
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Storage/MetadataBag.php \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag::__construct()
Constructor.
Parameters
string $storageKey The key used to store bag in the session.:
int $updateThreshold The time to wait between two UPDATED updates:
1 call to MetadataBag::__construct()
- MetadataBag::__construct in core/
lib/ Drupal/ Core/ Session/ MetadataBag.php - Constructs a new metadata bag instance.
1 method overrides MetadataBag::__construct()
- MetadataBag::__construct in core/
lib/ Drupal/ Core/ Session/ MetadataBag.php - Constructs a new metadata bag instance.
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ MetadataBag.php, line 62
Class
- MetadataBag
- Metadata container.
Namespace
Symfony\Component\HttpFoundation\Session\StorageCode
public function __construct($storageKey = '_sf2_meta', $updateThreshold = 0) {
$this->storageKey = $storageKey;
$this->updateThreshold = $updateThreshold;
}