function LoaderInterface::isFresh
Parameters
int $time Timestamp of the last modification time of the cached template:
Throws
LoaderError When $name is not found
5 methods override LoaderInterface::isFresh()
- ArrayLoader::isFresh in vendor/
twig/ twig/ src/ Loader/ ArrayLoader.php - ChainLoader::isFresh in vendor/
twig/ twig/ src/ Loader/ ChainLoader.php - ComponentLoader::isFresh in core/
lib/ Drupal/ Core/ Template/ Loader/ ComponentLoader.php - FilesystemLoader::isFresh in vendor/
twig/ twig/ src/ Loader/ FilesystemLoader.php - StringLoader::isFresh in core/
lib/ Drupal/ Core/ Template/ Loader/ StringLoader.php
File
-
vendor/
twig/ twig/ src/ Loader/ LoaderInterface.php, line 43
Class
- LoaderInterface
- Interface all loaders must implement.
Namespace
Twig\LoaderCode
public function isFresh(string $name, int $time) : bool;