Author: Victor Berchet (victor@suumit.com)
Inheritance: implements Symfony\Component\Templating\TemplateReferenceInterface
 public function setTemplate($name, $content)
 {
     $template = new TemplateReference($name, 'php');
     $this->templates[$template->getLogicalName()] = $content;
 }