You are here

public function Twig_Node_Module::setIndex in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Node/Module.php \Twig_Node_Module::setIndex()

File

vendor/twig/twig/lib/Twig/Node/Module.php, line 45

Class

Twig_Node_Module
Represents a module node.

Code

public function setIndex($index) {
  $this
    ->setAttribute('index', $index);
}