summaryrefslogtreecommitdiff
path: root/inc/lib/Twig/CompilerInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/lib/Twig/CompilerInterface.php')
-rw-r--r--inc/lib/Twig/CompilerInterface.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/lib/Twig/CompilerInterface.php b/inc/lib/Twig/CompilerInterface.php
index 0a13edf2..e293ec91 100644
--- a/inc/lib/Twig/CompilerInterface.php
+++ b/inc/lib/Twig/CompilerInterface.php
@@ -12,24 +12,24 @@
/**
* Interface implemented by compiler classes.
*
- * @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_CompilerInterface
{
/**
* Compiles a node.
*
- * @param Twig_NodeInterface $node The node to compile
+ * @param Twig_NodeInterface $node The node to compile
*
* @return Twig_CompilerInterface The current compiler instance
*/
- function compile(Twig_NodeInterface $node);
+ public function compile(Twig_NodeInterface $node);
/**
* Gets the current PHP code after compilation.
*
* @return string The PHP code
*/
- function getSource();
+ public function getSource();
}