From: Fabien Potencier Date: Tue, 12 Apr 2011 05:54:05 +0000 (+0200) Subject: Revert "deleted abstract method doDisplay (maintain BC)" X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=4f37cdd08d8606a7687e41c274e7fa2be8da1fe9;p=web%2Fkonrad%2Ftwig.git Revert "deleted abstract method doDisplay (maintain BC)" This reverts commit 70d90bedce7788f5aac35357975aaf6c6a584baf. --- diff --git a/lib/Twig/Template.php b/lib/Twig/Template.php index 754575f..99f8dfb 100644 --- a/lib/Twig/Template.php +++ b/lib/Twig/Template.php @@ -195,6 +195,14 @@ abstract class Twig_Template implements Twig_TemplateInterface } /** + * Auto-generated method to display the template with the given context. + * + * @param array $context An array of parameters to pass to the template + * @param array $blocks An array of blocks to pass to the template + */ + abstract protected function doDisplay(array $context, array $blocks = array()); + + /** * Returns a variable from the context. * * @param array $context The context