Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | trait MaxOccursTrait |
||
15 | { |
||
16 | /** |
||
17 | * The maxOccurs. |
||
18 | * |
||
19 | * @var \SimpleSAML\XMLSchema\Type\MaxOccursValue|null |
||
20 | */ |
||
21 | protected ?MaxOccursValue $maxOccurs = null; |
||
22 | |||
23 | |||
24 | /** |
||
25 | * Collect the value of the maxOccurs-property |
||
26 | * |
||
27 | * @return \SimpleSAML\XMLSchema\Type\MaxOccursValue|null |
||
28 | */ |
||
29 | public function getMaxOccurs(): ?MaxOccursValue |
||
30 | { |
||
31 | return $this->maxOccurs; |
||
32 | } |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Set the value of the maxOccurs-property |
||
37 | * |
||
38 | * @param \SimpleSAML\XMLSchema\Type\MaxOccursValue|null $maxOccurs |
||
39 | */ |
||
40 | protected function setMaxOccurs(?MaxOccursValue $maxOccurs): void |
||
43 | } |
||
44 | } |
||
45 |