public function visitVariableNode(VariableNodeInterface $node) { $varName = $node->getName(); if (!isset($this->bindings[$varName])) { throw new OutOfBoundsException($varName . ' unknown'); } return $this->bindings[$varName]; }
public function visitVariableNode(VariableNodeInterface $node) { return $this->_renderNode($this->_indent($this->depth + 1) . '<variable value="' . $node->getName() . '"/>'); }
public function visitVariableNode(VariableNodeInterface $node) { return $node->getName(); }