You are here

public function Twig_Parser::getImportedSymbol in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Parser.php \Twig_Parser::getImportedSymbol()

File

vendor/Twig/Parser.php, line 294

Class

Twig_Parser
Default parser implementation.

Code

public function getImportedSymbol($type, $alias) {
  foreach ($this->importedSymbols as $functions) {
    if (isset($functions[$type][$alias])) {
      return $functions[$type][$alias];
    }
  }
}