浏览代码

[Templating] removed the Engine::output() method

Fabien Potencier 14 年之前
父节点
当前提交
36d87d9464
共有 1 个文件被更改,包括 0 次插入13 次删除
  1. 0 13
      src/Symfony/Component/Templating/Engine.php

+ 0 - 13
src/Symfony/Component/Templating/Engine.php

@@ -171,19 +171,6 @@ class Engine implements \ArrayAccess
         return $template;
     }
 
-    /**
-     * Outputs a rendered template.
-     *
-     * @param string $name       A template name
-     * @param array  $parameters An array of parameters to pass to the template
-     *
-     * @see render()
-     */
-    public function output($name, array $parameters = array())
-    {
-        echo $this->render($name, $parameters);
-    }
-
     /**
      * Gets a helper value.
      *