summaryrefslogtreecommitdiff
path: root/inc/lib/Twig/TemplateInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/lib/Twig/TemplateInterface.php')
-rw-r--r--inc/lib/Twig/TemplateInterface.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/lib/Twig/TemplateInterface.php b/inc/lib/Twig/TemplateInterface.php
index 08da1163..879f503e 100644
--- a/inc/lib/Twig/TemplateInterface.php
+++ b/inc/lib/Twig/TemplateInterface.php
@@ -12,8 +12,8 @@
/**
* Interface implemented by all compiled templates.
*
- * @package twig
- * @author Fabien Potencier <fabien@symfony.com>
+ * @author Fabien Potencier <fabien@symfony.com>
+ * @deprecated since 1.12 (to be removed in 2.0)
*/
interface Twig_TemplateInterface
{
@@ -28,7 +28,7 @@ interface Twig_TemplateInterface
*
* @return string The rendered template
*/
- function render(array $context);
+ public function render(array $context);
/**
* Displays the template with the given context.
@@ -36,12 +36,12 @@ interface Twig_TemplateInterface
* @param array $context An array of parameters to pass to the template
* @param array $blocks An array of blocks to pass to the template
*/
- function display(array $context, array $blocks = array());
+ public function display(array $context, array $blocks = array());
/**
* Returns the bound environment for this template.
*
* @return Twig_Environment The current environment
*/
- function getEnvironment();
+ public function getEnvironment();
}