You are here

public function Twig_Loader_String::isFresh in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Loader/String.php \Twig_Loader_String::isFresh()

Returns true if the template is still fresh.

Parameters

string $name The template name:

int $time Timestamp of the last modification time of the: cached template

Return value

bool true if the template is fresh, false otherwise

Throws

Twig_Error_Loader When $name is not found

Overrides Twig_LoaderInterface::isFresh

File

vendor/twig/twig/lib/Twig/Loader/String.php, line 59

Class

Twig_Loader_String
Loads a template from a string.

Code

public function isFresh($name, $time) {
  return true;
}