ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
TokenParserBrokerInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) Fabien Potencier
7  * (c) Arnaud Le Blanc
8  *
9  * For the full copyright and license information, please view the LICENSE
10  * file that was distributed with this source code.
11  */
12 
23 {
31  public function getTokenParser($tag);
32 
36  public function setParser(Twig_ParserInterface $parser);
37 
43  public function getParser();
44 }
Interface implemented by token parser brokers.
Interface implemented by parser classes.
setParser(Twig_ParserInterface $parser)
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of...
getTokenParser($tag)
Gets a TokenParser suitable for a tag.
$parser
Definition: BPMN2Parser.php:23
getParser()
Gets the Twig_ParserInterface.
if(function_exists('posix_getuid') &&posix_getuid()===0) if(!array_key_exists('t', $options)) $tag
Definition: cron.php:35