public function Twig_Parser::addImportedSymbol in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Parser.php \Twig_Parser::addImportedSymbol()
File
- vendor/
Twig/ Parser.php, line 289
Class
- Twig_Parser
- Default parser implementation.
Code
public function addImportedSymbol($type, $alias, $name = null, Twig_Node_Expression $node = null) {
$this->importedSymbols[0][$type][$alias] = array(
'name' => $name,
'node' => $node,
);
}