Twig_LoaderInterface::isFresh
Returns true if the template is still fresh.
Signature
public function isFresh(string
$name,
timestamp
$time )
Parameters
$name
— string- The template name
$time
— object- The last modification time of the cached template
Returns
- Boolean
- true if the template is fresh, false otherwise
Errors/Exceptions
-
Twig_Error_Loader
- When $name is not found