From 1b136555d279bf2cfb28f5661225c010426754f5 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 5 Oct 2011 15:22:53 +1100 Subject: transition to Twig --- inc/contrib/Twig/TokenParser.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 inc/contrib/Twig/TokenParser.php (limited to 'inc/contrib/Twig/TokenParser.php') diff --git a/inc/contrib/Twig/TokenParser.php b/inc/contrib/Twig/TokenParser.php new file mode 100644 index 00000000..6c9e6935 --- /dev/null +++ b/inc/contrib/Twig/TokenParser.php @@ -0,0 +1,31 @@ + + */ +abstract class Twig_TokenParser implements Twig_TokenParserInterface +{ + protected $parser; + + /** + * Sets the parser associated with this token parser + * + * @param $parser A Twig_Parser instance + */ + public function setParser(Twig_Parser $parser) + { + $this->parser = $parser; + } +} -- cgit v1.3