58 return sprintf(
'__internal_%s',
hash(
'sha256', $this->extensionName));
67class_alias(
'Twig_Profiler_NodeVisitor_Profiler',
'Twig\Profiler\NodeVisitor\ProfilerNodeVisitor',
false);
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
Twig_BaseNodeVisitor can be used to make node visitors compatible with Twig 1.x and 2....
Stores the Twig configuration.
Represents a module node.
Represents a node in the AST.
setNode($name, $node=null)
__construct($extensionName)
doLeaveNode(Twig_Node $node, Twig_Environment $env)
Called after child nodes are visited.
getPriority()
Returns the priority for this visitor.
doEnterNode(Twig_Node $node, Twig_Environment $env)
Called before child nodes are visited.
Represents a profile enter node.
Represents a profile leave node.
hash(StreamInterface $stream, $algo, $rawOutput=false)
Calculate a hash of a Stream.