Interface all loaders must implement.
- Auteur
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
◆ exists()
◆ getCacheKey()
| getCacheKey |
( |
string | $name | ) |
|
◆ getSourceContext()
| getSourceContext |
( |
string | $name | ) |
|
◆ isFresh()
| isFresh |
( |
string | $name, |
|
|
int | $time ) |
- Paramètres
-
| int | $time | Timestamp of the last modification time of the cached template |
- Exceptions
-
| LoaderError | When $name is not found |
Implémenté dans ArrayLoader, ChainLoader, et FilesystemLoader.
La documentation de cette interface a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Loader/LoaderInterface.php