1: <?php
2: namespace Pharborist;
3:
4: /**
5: * Splat operator, e.g. `a_func($a, ...$b)`
6: *
7: * Arrays and Traversable objects can be unpacked into argument lists when
8: * calling functions by using the ... operator. This is also known as the
9: * splat operator.
10: */
11: class SplatNode extends ParentNode {
12: /**
13: * @var ExpressionNode
14: */
15: protected $expression;
16:
17: /**
18: * @return ExpressionNode
19: */
20: public function getExpression() {
21: return $this->expression;
22: }
23: }
24: