\Twig_Extension_Staging
Internal class.
This class is used by Twig_Environment as a staging area and must not be used directly.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Twig_Extension_Staging
extends Twig_Extension
{
- // members
- protected array $functions;
- protected array $filters;
- protected array $visitors;
- protected array $tokenParsers;
- protected array $globals;
- protected array $tests;
- // methods
- public void addFunction()
- public void getFunctions()
- public void addFilter()
- public void getFilters()
- public void addNodeVisitor()
- public void getNodeVisitors()
- public void addTokenParser()
- public void getTokenParsers()
- public void addGlobal()
- public void getGlobals()
- public void addTest()
- public void getTests()
- public void getName()
- // Inherited methods from Twig_Extension
- public void initRuntime()
- public array getTokenParsers()
- public array getNodeVisitors()
- public array getFilters()
- public array getTests()
- public array getFunctions()
- public array getOperators()
- public array getGlobals()
Hierarchy
Extends
Members
protected
- $filters
- $functions
- $globals
- $tests
- $tokenParsers
- $visitors
Methods
public
- addFilter()
- addFunction()
- addGlobal()
- addNodeVisitor()
- addTest()
- addTokenParser()
- getFilters() — {@inheritdoc}
- getFunctions() — {@inheritdoc}
- getGlobals() — {@inheritdoc}
- getName() — {@inheritdoc}
- getNodeVisitors() — {@inheritdoc}
- getTests() — {@inheritdoc}
- getTokenParsers() — {@inheritdoc}
Inherited from Twig_Extension
public
- getFilters() — Returns a list of filters to add to the existing list.
- getFunctions() — Returns a list of functions to add to the existing list.
- getGlobals() — Returns a list of global variables to add to the existing list.
- getNodeVisitors() — Returns the node visitor instances to add to the existing list.
- getOperators() — Returns a list of operators to add to the existing list.
- getTests() — Returns a list of tests to add to the existing list.
- getTokenParsers() — Returns the token parser instances to add to the existing list.
- initRuntime() — Initializes the runtime environment.