[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/twig/twig/src/Loader/ -> LoaderInterface.php (summary)

(no description)

File Size: 69 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LoaderInterface:: (4 methods):
  getSourceContext()
  getCacheKey()
  isFresh()
  exists()


Interface: LoaderInterface  - X-Ref

Interface all loaders must implement.

getSourceContext($name)   X-Ref
Returns the source context for a given template logical name.

param: string $name The template logical name
return: Source

getCacheKey($name)   X-Ref
Gets the cache key to use for the cache for a given template name.

param: string $name The name of the template to load
return: string The cache key

isFresh($name, $time)   X-Ref
Returns true if the template is still fresh.

param: string $name The template name
param: int    $time Timestamp of the last modification time of the
return: bool true if the template is fresh, false otherwise

exists($name)   X-Ref
Check if we have the source code of a template, given its name.

param: string $name The name of the template to check if we can load
return: bool If the template source code is handled by this loader or not



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1