public function SetCookie::isExpired in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php \GuzzleHttp\Cookie\SetCookie::isExpired()
Check if the cookie is expired
Return value
bool
File
- vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SetCookie.php, line 360
Class
- SetCookie
- Set-Cookie object
Namespace
GuzzleHttp\CookieCode
public function isExpired() {
return $this
->getExpires() && time() > $this
->getExpires();
}