Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Cookie.php

function Cookie::isCleared

Whether this cookie is about to be cleared.

File

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

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

public function isCleared() : bool {
    return 0 !== $this->expire && $this->expire < time();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal