private function Twig_Profiler_NodeVisitor_Profiler::getVarName in Translation template extractor 7.3
1 call to Twig_Profiler_NodeVisitor_Profiler::getVarName()
- Twig_Profiler_NodeVisitor_Profiler::doLeaveNode in vendor/
Twig/ Profiler/ NodeVisitor/ Profiler.php - Called after child nodes are visited.
File
- vendor/
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));
}