You are here

public function Twig_Cache_Null::getTimestamp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Cache/Null.php \Twig_Cache_Null::getTimestamp()

Returns the modification timestamp of a key.

Parameters

string $key The cache key:

Return value

int

Overrides Twig_CacheInterface::getTimestamp

File

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

Class

Twig_Cache_Null
Implements a no-cache strategy.

Code

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