From 874b8cbf002e9d8bf0ff39671e1501165016320a Mon Sep 17 00:00:00 2001 From: Michael Save Date: Mon, 9 Apr 2012 20:52:26 +1000 Subject: inc/contrib -> inc/lib --- inc/lib/Twig/LexerInterface.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 inc/lib/Twig/LexerInterface.php (limited to 'inc/lib/Twig/LexerInterface.php') diff --git a/inc/lib/Twig/LexerInterface.php b/inc/lib/Twig/LexerInterface.php new file mode 100644 index 00000000..02233849 --- /dev/null +++ b/inc/lib/Twig/LexerInterface.php @@ -0,0 +1,29 @@ + + */ +interface Twig_LexerInterface +{ + /** + * Tokenizes a 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); +} -- cgit v1.3