projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9c17a51
)
Revert "deleted abstract method doDisplay (maintain BC)"
author
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 12 Apr 2011 05:54:05 +0000 (07:54 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 12 Apr 2011 05:54:05 +0000 (07:54 +0200)
This reverts commit
70d90bedce7788f5aac35357975aaf6c6a584baf
.
lib/Twig/Template.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Template.php
b/lib/Twig/Template.php
index
754575f
..
99f8dfb
100644
(file)
--- 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