1: <?php
2: namespace Pharborist\Constants;
3:
4: use Pharborist\Namespaces\IdentifierNameTrait;
5: use Pharborist\ParentNode;
6: use Pharborist\ExpressionNode;
7:
8: /**
9: * Constant declaration.
10: */
11: class ConstantDeclarationNode extends ParentNode {
12: use IdentifierNameTrait;
13:
14: /**
15: * @var ExpressionNode
16: */
17: protected $value;
18:
19: /**
20: * @return ExpressionNode
21: */
22: public function getValue() {
23: return $this->value;
24: }
25: }
26: