You are here

public function Cookie::isCleared in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::isCleared()

Whether this cookie is about to be cleared.

Return value

bool

File

vendor/symfony/http-foundation/Cookie.php, line 186

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

public function isCleared() {
  return $this->expire < time();
}