Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LoaderInterface.php

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\Loader

Code

public function isFresh(string $name, int $time) : bool;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal