|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Adds a getSourceContext() method for loaders. More...
Inheritance diagram for Twig_SourceContextLoaderInterface:
Collaboration diagram for Twig_SourceContextLoaderInterface: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_Array, Twig_Loader_Chain, Twig_Loader_Filesystem, and Twig_Loader_String.