You are here

public function Twig_Cache_Null::getTimestamp in Translation template extractor 7.3

Returns the modification timestamp of a key.

Parameters

string $key The cache key:

Return value

int

Overrides Twig_CacheInterface::getTimestamp

File

vendor/Twig/Cache/Null.php, line 44

Class

Twig_Cache_Null
Implements a no-cache strategy.

Code

public function getTimestamp($key) {
  return 0;
}