You are here

public function SetCookie::getMaxAge in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php \GuzzleHttp\Cookie\SetCookie::getMaxAge()

Maximum lifetime of the cookie in seconds

Return value

int|null

1 call to SetCookie::getMaxAge()
SetCookie::__construct in vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php

File

vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php, line 191

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function getMaxAge() {
  return $this->data['Max-Age'];
}