1: <?php
2: namespace Pharborist\Objects;
3:
4: use Pharborist\Namespaces\IdentifierNameTrait;
5: use Pharborist\NodeCollection;
6: use Pharborist\Namespaces\NameNode;
7: use Pharborist\StatementNode;
8: use Pharborist\DocCommentTrait;
9: use Pharborist\CommaListNode;
10: use Pharborist\StatementBlockNode;
11:
12: 13: 14:
15: class InterfaceNode extends StatementNode {
16: use IdentifierNameTrait;
17: use DocCommentTrait;
18:
19: 20: 21:
22: protected $extends;
23:
24: 25: 26:
27: protected $statements;
28:
29: 30: 31:
32: public function getExtendList() {
33: return $this->extends;
34: }
35:
36: 37: 38:
39: public function getExtends() {
40: return $this->extends->getItems();
41: }
42:
43: 44: 45:
46: public function getBody() {
47: return $this->statements;
48: }
49:
50: 51: 52:
53: public function getStatements() {
54: return $this->statements->getStatements();
55: }
56: }
57: