You are here

public function Twig_Parser::isMainScope in Zircon Profile 8.0

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

File

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

Class

Twig_Parser
Default parser implementation.

Code

public function isMainScope() {
  return 1 === count($this->importedSymbols);
}