ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Adds a getSourceContext() method for loaders. More...
Public Member Functions | |
getSourceContext ($name) | |
Returns the source context for a given template logical name. More... | |
Adds a getSourceContext() method for loaders.
Definition at line 19 of file SourceContextLoaderInterface.php.
Twig_SourceContextLoaderInterface::getSourceContext | ( | $name | ) |
Returns the source context for a given template logical name.
string | $name | The template logical name |
Twig_Error_Loader | When $name is not found |
Implemented in Twig_Loader_Filesystem, Twig_Loader_Array, Twig_Loader_Chain, and Twig_Loader_String.