瀏覽代碼

[TwigBundle] removed obsolete code

Fabien Potencier 14 年之前
父節點
當前提交
6180b6aeb5
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      src/Symfony/Bridge/Twig/Extension/FormExtension.php

+ 0 - 7
src/Symfony/Bridge/Twig/Extension/FormExtension.php

@@ -174,13 +174,6 @@ class FormExtension extends \Twig_Extension
         throw new FormException(sprintf('Unable to render form as none of the following blocks exist: "%s".', implode('", "', $blocks)));
     }
 
-    protected function getTemplate(FormView $view, $name)
-    {
-        $templates = $this->getTemplates($view);
-
-        return $templates[$name];
-    }
-
     protected function getTemplates(FormView $view)
     {
         // templates are looked for in the following resources: