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

Breadcrumb

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

function CacheInterface::getTimestamp

Returns the modification timestamp of a key.

4 methods override CacheInterface::getTimestamp()
ChainCache::getTimestamp in vendor/twig/twig/src/Cache/ChainCache.php
Returns the modification timestamp of a key.
FilesystemCache::getTimestamp in vendor/twig/twig/src/Cache/FilesystemCache.php
Returns the modification timestamp of a key.
NullCache::getTimestamp in vendor/twig/twig/src/Cache/NullCache.php
Returns the modification timestamp of a key.
TwigPhpStorageCache::getTimestamp in core/lib/Drupal/Core/Template/TwigPhpStorageCache.php
Returns the modification timestamp of a key.

File

vendor/twig/twig/src/Cache/CacheInterface.php, line 45

Class

CacheInterface
Interface implemented by cache classes.

Namespace

Twig\Cache

Code

public function getTimestamp(string $key) : int;
RSS feed
Powered by Drupal