*/ interface Twig_ExtensionInterface { /** * Returns the token parser instances to add to the existing list. * * @return Twig_TokenParserInterface[] */ public function getTokenParsers(); /** * Returns the node visitor instances to add to the existing list. * * @return Twig_NodeVisitorInterface[] */ public function getNodeVisitors(); /** * Returns a list of filters to add to the existing list. * * @return Twig_Filter[] */ public function getFilters(); /** * Returns a list of tests to add to the existing list. * * @return Twig_Test[] */ public function getTests(); /** * Returns a list of functions to add to the existing list. * * @return Twig_Function[] */ public function getFunctions(); /** * Returns a list of operators to add to the existing list. * * @return array First array of unary operators, second array of binary operators */ public function getOperators(); } class_alias('Twig_ExtensionInterface', 'Twig\Extension\ExtensionInterface', false); class_exists('Twig_Environment');