getSourceContext()
getSourceContext(string $name) : \Twig_Source
Returns the source context for a given template logical name.
Parameters
string | $name | The template logical name |
Throws
- \Twig_Error_Loader
When $name is not found