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

Breadcrumb

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

function SetCookie::getExpires

The UNIX timestamp when the cookie Expires.

Return value

string|int|null

2 calls to SetCookie::getExpires()
SetCookie::isExpired in vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
Check if the cookie is expired.
SetCookie::__construct in vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php

File

vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php, line 281

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function getExpires() {
    return $this->data['Expires'];
}

API Navigation

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