1: <?php
2: namespace Pharborist\Constants;
3:
4: use Pharborist\NodeCollection;
5: use Pharborist\Objects\ClassStatementNode;
6: use Pharborist\DocCommentTrait;
7: use Pharborist\Objects\InterfaceStatementNode;
8:
9: 10: 11:
12: class ConstantDeclarationStatementNode extends ClassStatementNode implements InterfaceStatementNode {
13: use DocCommentTrait;
14:
15: 16: 17:
18: protected $declarations;
19:
20: 21: 22:
23: public function getDeclarationList() {
24: return $this->declarations;
25: }
26:
27: 28: 29:
30: public function getDeclarations() {
31: return $this->declarations->getItems();
32: }
33: }
34: