Class Twig_Extension_Staging

InheritanceTwig_Extension_Staging » Twig_Extension
ImplementsTwig_ExtensionInterface

Internal class.

This class is used by Twig_Environment as a staging area and must not be used directly.

Property Details

$filters protected property
protected $filters = []
$functions protected property
protected $functions = []
$globals protected property
protected $globals = []
$tests protected property
protected $tests = []
$tokenParsers protected property
protected $tokenParsers = []
$visitors protected property
protected $visitors = []

Method Details

addFilter() public method

public void addFilter ( $name, $filter )
$name
$filter
addFunction() public method

public void addFunction ( $name, $function )
$name
$function
addGlobal() public method

public void addGlobal ( $name, $value )
$name
$value
addNodeVisitor() public method

public void addNodeVisitor ( Twig_NodeVisitorInterface $visitor )
$visitor
addTest() public method

public void addTest ( $name, $test )
$name
$test
addTokenParser() public method

public void addTokenParser ( Twig_TokenParserInterface $parser )
$parser
getFilters() public method

public void getFilters ( )
getFunctions() public method

public void getFunctions ( )
getGlobals() public method

public void getGlobals ( )
getName() public method

public void getName ( )
getNodeVisitors() public method

public void getNodeVisitors ( )
getTests() public method

public void getTests ( )
getTokenParsers() public method

public void getTokenParsers ( )