public function Cookie::getExpiresTime

Gets the time the cookie expires.

@api

Return value

integer

1 call to Cookie::getExpiresTime()
Cookie::__toString in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Cookie.php
Returns the cookie as a string.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Cookie.php, line 158

Class

Cookie
Represents a cookie

Namespace

Symfony\Component\HttpFoundation

Code

public function getExpiresTime() {
  return $this->expire;
}