Loads templates from other loaders.
package | Default |
---|
__construct(array<mixed,\Twig\Loader\LoaderInterface> $loaders = array())
addLoader(\Twig\Loader\LoaderInterface $loader)
exists(string $name): boolean
string
The name of the template to check if we can load
boolean
If the template source code is handled by this loader or not
getCacheKey(string $name): string
string
The name of the template to load
string
The cache key
getLoaders(): array<mixed,\Twig\Loader\LoaderInterface>
getSource(string $name): string
string
The name of the template to load
string
The template source code
getSourceContext(string $name): \Twig\Source
isFresh(string $name,integer $time): boolean
string
The template name
integer
Timestamp of the last modification time of the cached template
boolean
true if the template is fresh, false otherwise
hasSourceCache :
loaders :