Returns true if the template is still fresh.
string $name The template name:
timestamp $time The last modification time of the cached template:
Overrides Twig_LoaderInterface::isFresh
public function isFresh($name, $time) {
$name = (string) $name;
if (!isset($this->templates[$name])) {
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined.', $name));
}
return true;
}