You are here

public function Twig_Node::removeNode in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Node.php \Twig_Node::removeNode()

Removes a node by name.

Parameters

string The node name:

File

vendor/Twig/Node.php, line 215

Class

Twig_Node
Represents a node in the AST.

Code

public function removeNode($name) {
  unset($this->nodes[$name]);
}