$functions
$functions :
Used by Twig_Environment as a staging area.
addFunction(\Twig_Function $function)
\Twig_Function | $function |
getFunctions() : array<mixed,\Twig_Function>
Returns a list of functions to add to the existing list.
addFilter(\Twig_Filter $filter)
\Twig_Filter | $filter |
getFilters() : array<mixed,\Twig_Filter>
Returns a list of filters to add to the existing list.
addNodeVisitor(\Twig_NodeVisitorInterface $visitor)
\Twig_NodeVisitorInterface | $visitor |
getNodeVisitors() : array<mixed,\Twig_NodeVisitorInterface>
Returns the node visitor instances to add to the existing list.
addTokenParser(\Twig_TokenParserInterface $parser)
\Twig_TokenParserInterface | $parser |
getTokenParsers() : array<mixed,\Twig_TokenParserInterface>
Returns the token parser instances to add to the existing list.
addTest(\Twig_Test $test)
\Twig_Test | $test |
getTests() : array<mixed,\Twig_Test>
Returns a list of tests to add to the existing list.
<?php
namespace Twig\Extension;
class_exists('Twig_Extension_Staging');
if (\false) {
class StagingExtension extends \Twig_Extension_Staging
{
}
}