You are here

public function Twig_Node::removeNode in Zircon Profile 8

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

Removes a node by name.

Parameters

string $name:

File

vendor/twig/twig/lib/Twig/Node.php, line 217

Class

Twig_Node
Represents a node in the AST.

Code

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