public function Twig_Parser::getVarName in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Parser.php \Twig_Parser::getVarName()
File
- vendor/
Twig/ Parser.php, line 50
Class
- Twig_Parser
- Default parser implementation.
Code
public function getVarName() {
return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
}