Loads templates from other loaders.
- Auteur
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
◆ __construct()
| __construct |
( |
private iterable | $loaders = [] | ) |
|
- Paramètres
-
| iterable<LoaderInterface> | $loaders |
◆ exists()
◆ getCacheKey()
| getCacheKey |
( |
string | $name | ) |
|
Gets the cache key to use for the cache for a given template name.
- Exceptions
-
| LoaderError | When $name is not found |
Implémente LoaderInterface.
◆ getLoaders()
◆ getSourceContext()
| getSourceContext |
( |
string | $name | ) |
|
Returns the source context for a given template logical name.
- Exceptions
-
| LoaderError | When $name is not found |
Implémente LoaderInterface.
◆ 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émente LoaderInterface.
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Loader/ChainLoader.php