interface Twig_ExtensionInterface

Interface implemented by extension classes.

Methods

getTokenParsers()

Returns the token parser instances to add to the existing list.

getNodeVisitors()

Returns the node visitor instances to add to the existing list.

getFilters()

Returns a list of filters to add to the existing list.

getTests()

Returns a list of tests to add to the existing list.

getFunctions()

Returns a list of functions to add to the existing list.

array
getOperators()

Returns a list of operators to add to the existing list.

Details

at line 24
Twig_TokenParserInterface[] getTokenParsers()

Returns the token parser instances to add to the existing list.

Return Value

Twig_TokenParserInterface[]

at line 31
Twig_NodeVisitorInterface[] getNodeVisitors()

Returns the node visitor instances to add to the existing list.

Return Value

Twig_NodeVisitorInterface[]

at line 38
Twig_Filter[] getFilters()

Returns a list of filters to add to the existing list.

Return Value

Twig_Filter[]

at line 45
Twig_Test[] getTests()

Returns a list of tests to add to the existing list.

Return Value

Twig_Test[]

at line 52
Twig_Function[] getFunctions()

Returns a list of functions to add to the existing list.

Return Value

Twig_Function[]

at line 59
array getOperators()

Returns a list of operators to add to the existing list.

Return Value

array First array of unary operators, second array of binary operators