Автор: Victor Berchet (victor@suumit.com)
Наследование: implements Symfony\Component\Templating\TemplateReferenceInterface
Пример #1
0
 public function setTemplate($name, $content)
 {
     $template = new TemplateReference($name, 'php');
     $this->templates[$template->getLogicalName()] = $content;
 }