ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Adds an exists() method for loaders. More...
Public Member Functions | |
exists ($name) | |
Check if we have the source code of a template, given its name. More... | |
Adds an exists() method for loaders.
Definition at line 19 of file ExistsLoaderInterface.php.
Twig_ExistsLoaderInterface::exists | ( | $name | ) |
Check if we have the source code of a template, given its name.
string | $name | The name of the template to check if we can load |
Implemented in Twig_Loader_Filesystem, Twig_Loader_Chain, Twig_Loader_Array, and Twig_Loader_String.
Referenced by Twig_Loader_Chain\getCacheKey(), Twig_Loader_Chain\getSource(), Twig_Loader_Chain\getSourceContext(), and Twig_Loader_Chain\isFresh().