function TestLoader::isFresh

Same name in other branches
  1. 9 core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader::isFresh()
  2. 8.9.x core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader::isFresh()
  3. 11.x core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php \Drupal\twig_loader_test\Loader\TestLoader::isFresh()

File

core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php, line 39

Class

TestLoader
A test Twig loader.

Namespace

Drupal\twig_loader_test\Loader

Code

public function isFresh(string $name, int $time) : bool {
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.