| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class AssociationTreeNode |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Association |
||
| 9 | */ |
||
| 10 | protected $association; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var self|null |
||
| 14 | */ |
||
| 15 | protected $parent; |
||
| 16 | |||
| 17 | public function __construct(Association $association, ?self $parent) |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getParent(): ?self |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getAssociation(): Association |
||
| 33 |