public function Twig_Node::count

File

drupal/core/vendor/twig/twig/lib/Twig/Node.php, line 218

Class

Twig_Node
Represents a node in the AST.

Code

public function count() {
  return count($this->nodes);
}