You are here

public function Twig_CacheInterface::getTimestamp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/CacheInterface.php \Twig_CacheInterface::getTimestamp()

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/twig/lib/Twig/Cache/Filesystem.php
Returns the modification timestamp of a key.
Twig_Cache_Null::getTimestamp in vendor/twig/twig/lib/Twig/Cache/Null.php
Returns the modification timestamp of a key.

File

vendor/twig/twig/lib/Twig/CacheInterface.php, line 55

Class

Twig_CacheInterface
Interface implemented by cache classes.

Code

public function getTimestamp($key);