You are here

public function Twig_Parser::hasTraits in Zircon Profile 8

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

File

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

Class

Twig_Parser
Default parser implementation.

Code

public function hasTraits() {
  return count($this->traits) > 0;
}