private function Twig_Profiler_NodeVisitor_Profiler::getVarName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php \Twig_Profiler_NodeVisitor_Profiler::getVarName()
1 call to Twig_Profiler_NodeVisitor_Profiler::getVarName()
- Twig_Profiler_NodeVisitor_Profiler::doLeaveNode in vendor/
twig/ twig/ lib/ Twig/ Profiler/ NodeVisitor/ Profiler.php - Called after child nodes are visited.
File
- vendor/
twig/ twig/ lib/ Twig/ Profiler/ NodeVisitor/ Profiler.php, line 60
Class
- Twig_Profiler_NodeVisitor_Profiler
- @author Fabien Potencier <fabien@symfony.com>
Code
private function getVarName() {
return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
}