Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ElementDef extends AbstractElementSingle |
||
12 | { |
||
13 | /** |
||
14 | * @var ElementRef[] |
||
15 | */ |
||
16 | private array $substitutionCandidates = []; |
||
17 | |||
18 | public function hasSubstitutionCandidates(): bool |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return ElementRef[] |
||
25 | */ |
||
26 | public function getSubstitutionCandidates(): array |
||
27 | { |
||
28 | return $this->substitutionCandidates; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param ElementRef[] $substitutionCandidates |
||
33 | */ |
||
34 | public function setSubstitutionCandidates(array $substitutionCandidates): void |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param ElementRef $substitutionCandidate |
||
41 | */ |
||
42 | public function addSubstitutionCandidate(AbstractElementSingle $substitutionCandidate): void |
||
47 |