Twig_LoaderInterface::getSource
Gets the source code of a template, given its name.
Signature
public function getSource(string
$name )
Parameters
$name
— string- The name of the template to load
Returns
- string
- The template source code
Errors/Exceptions
-
Twig_Error_Loader
- When $name is not found