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) {
$name = (string) $name;
if (!isset($this->templates[$name])) {
throw new Twig_Error_Loader(sprintf('Template "%s" is not defined.', $name));
}
return $this->templates[$name];
}