public function MetadataBag::__construct

Constructor.

Parameters

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

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MetadataBag.php, line 56

Class

MetadataBag
Metadata container.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function __construct($storageKey = '_sf2_meta') {
  $this->storageKey = $storageKey;
  $this->meta = array(
    self::CREATED => 0,
    self::UPDATED => 0,
    self::LIFETIME => 0,
  );
}