Symfony\Component\Templating\Loader\FilesystemLoader::isFresh
Returns true if the template is still fresh.
Signature
public function isFresh(TemplateReferenceInterface
$template,
integer
$time )
Parameters
$template
— Symfony\Component\Templating\TemplateReferenceInterface- A template
$time
— integer- The last modification time of the cached template (timestamp)
Returns
- Boolean
- true if the template is still fresh, false otherwise