Checks if a timestamp represents the latest resource.
integer $timestamp A UNIX timestamp:
Boolean True if the timestamp is up to date
Overrides ResourceInterface::isFresh
public function isFresh($timestamp) {
try {
return $this->loader
->isFresh($this->name, $timestamp);
} catch (\Twig_Error_Loader $e) {
return false;
}
}