1: <?php
2: namespace Pharborist\Variables;
3:
4: use Pharborist\ParentNode;
5: use Pharborist\Node;
6:
7: /**
8: * A variable variable.
9: *
10: * For example, $$a
11: */
12: class VariableVariableNode extends ParentNode implements VariableExpressionNode {
13: /**
14: * @var Node
15: */
16: protected $variable;
17:
18: /**
19: * @return Node
20: */
21: public function getVariable() {
22: return $this->variable;
23: }
24: }
25: