getGlobals()
Returns a list of global variables to add to the existing list.
getTests()
Returns a list of tests to add to the existing list.
getFilters()
Returns a list of filters to add to the existing list.
getTokenParsers()
Returns the token parser instances to add to the existing list.
getFunctions()
Returns a list of functions to add to the existing list.
Interface implemented by extension classes.
getOperators()
Returns a list of operators to add to the existing list.
Stores the Twig configuration.
getNodeVisitors()
Returns the node visitor instances to add to the existing list.
initRuntime(Twig_Environment $environment)
Initializes the runtime environment.