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