public function SetCookie::setMaxAge in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php \GuzzleHttp\Cookie\SetCookie::setMaxAge()
Set the max-age of the cookie
Parameters
int $maxAge Max age of the cookie in seconds:
File
- vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SetCookie.php, line 201
Class
- SetCookie
- Set-Cookie object
Namespace
GuzzleHttp\CookieCode
public function setMaxAge($maxAge) {
$this->data['Max-Age'] = $maxAge;
}