public function SetCookie::setMaxAge in Lockr 7.3
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 200
Class
- SetCookie
- Set-Cookie object
Namespace
GuzzleHttp\CookieCode
public function setMaxAge($maxAge) {
$this->data['Max-Age'] = $maxAge;
}