Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class AssociationPath |
||
6 | { |
||
7 | /** |
||
8 | * @var Association[] |
||
9 | */ |
||
10 | protected $associations = []; |
||
11 | |||
12 | /** |
||
13 | * @var AssociationTree|null |
||
14 | */ |
||
15 | protected $nestedAssociationTree; |
||
16 | |||
17 | public function __construct(array $associations, ?AssociationTree $nestedAssociationTree = null) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return Association[] |
||
25 | */ |
||
26 | public function getAssociations(): array |
||
27 | { |
||
28 | return $this->associations; |
||
29 | } |
||
30 | |||
31 | public function getNestedAssociationTree(): ?AssociationTree |
||
34 | } |
||
35 | } |
||
36 |