summaryrefslogtreecommitdiff
path: root/inc/lib/Twig/LexerInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/lib/Twig/LexerInterface.php')
-rw-r--r--inc/lib/Twig/LexerInterface.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/lib/Twig/LexerInterface.php b/inc/lib/Twig/LexerInterface.php
index 02233849..4b83f81b 100644
--- a/inc/lib/Twig/LexerInterface.php
+++ b/inc/lib/Twig/LexerInterface.php
@@ -12,18 +12,18 @@
/**
* Interface implemented by lexer 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_LexerInterface
{
/**
* Tokenizes a source code.
*
- * @param string $code The source code
- * @param string $filename A unique identifier for the source code
+ * @param string $code The source code
+ * @param string $filename A unique identifier for the source code
*
* @return Twig_TokenStream A token stream instance
*/
- function tokenize($code, $filename = null);
+ public function tokenize($code, $filename = null);
}