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