You are here

public function Twig_Parser::addImportedSymbol in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Parser.php \Twig_Parser::addImportedSymbol()

File

vendor/twig/twig/lib/Twig/Parser.php, line 293

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,
  );
}