function ChainLoader::getLoaders
Return value
4 calls to ChainLoader::getLoaders()
- ChainLoader::exists in vendor/
twig/ twig/ src/ Loader/ ChainLoader.php - ChainLoader::getCacheKey in vendor/
twig/ twig/ src/ Loader/ ChainLoader.php - Gets the cache key to use for the cache for a given template name.
- ChainLoader::getSourceContext in vendor/
twig/ twig/ src/ Loader/ ChainLoader.php - Returns the source context for a given template logical name.
- ChainLoader::isFresh in vendor/
twig/ twig/ src/ Loader/ ChainLoader.php
File
-
vendor/
twig/ twig/ src/ Loader/ ChainLoader.php, line 52
Class
- ChainLoader
- Loads templates from other loaders.
Namespace
Twig\LoaderCode
public function getLoaders() : array {
if (!\is_array($this->loaders)) {
$this->loaders = iterator_to_array($this->loaders, false);
}
return $this->loaders;
}