\Twig\ExtensionStagingExtension

Used by Twig_Environment as a staging area.

Summary

Methods
Properties
Constants
addFunction()
getFunctions()
addFilter()
getFilters()
addNodeVisitor()
getNodeVisitors()
addTokenParser()
getTokenParsers()
addTest()
getTests()
getOperators()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$functions
$filters
$visitors
$tokenParsers
$tests
N/A

Properties

$functions

$functions : 

Type

$filters

$filters : 

Type

$visitors

$visitors : 

Type

$tokenParsers

$tokenParsers : 

Type

$tests

$tests : 

Type

Methods

addFunction()

addFunction(\Twig_Function  $function) 

Parameters

\Twig_Function $function

getFunctions()

getFunctions() : array<mixed,\Twig_Function>

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

Returns

array<mixed,\Twig_Function>

addFilter()

addFilter(\Twig_Filter  $filter) 

Parameters

\Twig_Filter $filter

getFilters()

getFilters() : array<mixed,\Twig_Filter>

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

Returns

array<mixed,\Twig_Filter>

getNodeVisitors()

getNodeVisitors() : array<mixed,\Twig_NodeVisitorInterface>

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

Returns

array<mixed,\Twig_NodeVisitorInterface>

getTokenParsers()

getTokenParsers() : array<mixed,\Twig_TokenParserInterface>

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

Returns

array<mixed,\Twig_TokenParserInterface>

addTest()

addTest(\Twig_Test  $test) 

Parameters

\Twig_Test $test

getTests()

getTests() : array<mixed,\Twig_Test>

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

Returns

array<mixed,\Twig_Test>

getOperators()

getOperators() : \array<array>

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

Returns

\array

First array of unary operators, second array of binary operators