Gets the source code of a template, given its name.
string $name The name of the template to load:
string The template source code
Overrides Twig_LoaderInterface::getSource
public function getSource($name) {
foreach ($this->loaders as $loader) {
try {
return $loader
->getSource($name);
} catch (Twig_Error_Loader $e) {
}
}
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined.', $name));
}