public function Cookie::isExpired in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Cookie.php \Symfony\Component\BrowserKit\Cookie::isExpired()
Returns true if the cookie has expired.
Return value
bool true if the cookie has expired, false otherwise
File
- vendor/
symfony/ browser-kit/ Cookie.php, line 305
Class
- Cookie
- Cookie represents an HTTP cookie.
Namespace
Symfony\Component\BrowserKitCode
public function isExpired() {
return null !== $this->expires && 0 !== $this->expires && $this->expires < time();
}