1: <?php
2: namespace Pharborist;
3:
4: /**
5: * An echo statement.
6: */
7: class EchoStatementNode extends StatementNode {
8: /**
9: * @var CommaListNode
10: */
11: protected $expressions;
12:
13: /**
14: * @return CommaListNode
15: */
16: public function getExpressionList() {
17: return $this->expressions;
18: }
19:
20: /**
21: * Return the expressions being echoed.
22: *
23: * @return NodeCollection|ExpressionNode[]
24: */
25: public function getExpressions() {
26: return $this->expressions->getItems();
27: }
28: }
29: