You are here

public function MetadataBag::getLifetime in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/Storage/MetadataBag.php \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag::getLifetime()

Gets the lifetime that the session cookie was set with.

Return value

int

File

vendor/symfony/http-foundation/Session/Storage/MetadataBag.php, line 92

Class

MetadataBag
Metadata container.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function getLifetime() {
  return $this->meta[self::LIFETIME];
}