You are here

public function Twig_CacheInterface::getTimestamp in Translation template extractor 7.3

Returns the modification timestamp of a key.

Parameters

string $key The cache key:

Return value

int

2 methods override Twig_CacheInterface::getTimestamp()
Twig_Cache_Filesystem::getTimestamp in vendor/Twig/Cache/Filesystem.php
Returns the modification timestamp of a key.
Twig_Cache_Null::getTimestamp in vendor/Twig/Cache/Null.php
Returns the modification timestamp of a key.

File

vendor/Twig/CacheInterface.php, line 55

Class

Twig_CacheInterface
Interface implemented by cache classes.

Code

public function getTimestamp($key);