function MetadataBag::__construct
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Session/MetadataBag.php \Drupal\Core\Session\MetadataBag::__construct()
Parameters
string $storageKey The key used to store bag in the session:
int $updateThreshold The time to wait between two UPDATED updates:
2 calls to MetadataBag::__construct()
- MetadataBag::__construct in core/
lib/ Drupal/ Core/ Session/ MetadataBag.php - Constructs a new metadata bag instance.
- 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 38
Class
- MetadataBag
- Metadata container.
Namespace
Symfony\Component\HttpFoundation\Session\StorageCode
public function __construct(string $storageKey = '_sf2_meta', int $updateThreshold = 0) {
}