aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/Twig/Extensions/GrammarInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Twig/Extensions/GrammarInterface.php')
-rw-r--r--inc/Twig/Extensions/GrammarInterface.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/inc/Twig/Extensions/GrammarInterface.php b/inc/Twig/Extensions/GrammarInterface.php
new file mode 100644
index 00000000..22713bf2
--- /dev/null
+++ b/inc/Twig/Extensions/GrammarInterface.php
@@ -0,0 +1,18 @@
1<?php
2
3/*
4 * This file is part of Twig.
5 *
6 * (c) 2010 Fabien Potencier
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11interface Twig_Extensions_GrammarInterface
12{
13 function setParser(Twig_ParserInterface $parser);
14
15 function parse(Twig_Token $token);
16
17 function getName();
18}