| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | trait MaxOccursTrait |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * The maxOccurs. |
||
| 18 | * |
||
| 19 | * @var \SimpleSAML\XMLSchema\Type\Schema\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\Schema\MaxOccursValue|null |
||
| 28 | */ |
||
| 29 | public function getMaxOccurs(): ?MaxOccursValue |
||
| 32 | } |
||
| 33 | |||
| 34 | |||
| 35 | /** |
||
| 36 | * Set the value of the maxOccurs-property |
||
| 37 | * |
||
| 38 | * @param \SimpleSAML\XMLSchema\Type\Schema\MaxOccursValue|null $maxOccurs |
||
| 39 | */ |
||
| 40 | protected function setMaxOccurs(?MaxOccursValue $maxOccurs): void |
||
| 45 |