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