| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait SimpleDerivationTrait |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The derivation. |
||
| 16 | * |
||
| 17 | * @var \SimpleSAML\XMLSchema\XML\xs\SimpleDerivationInterface |
||
| 18 | */ |
||
| 19 | protected SimpleDerivationInterface $derivation; |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Collect the value of the derivation-property |
||
| 24 | * |
||
| 25 | * @return \SimpleSAML\XMLSchema\XML\xs\SimpleDerivationInterface |
||
| 26 | */ |
||
| 27 | public function getDerivation(): SimpleDerivationInterface |
||
| 28 | { |
||
| 29 | return $this->derivation; |
||
| 30 | } |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * Set the value of the derivation-property |
||
| 35 | * |
||
| 36 | * @param \SimpleSAML\XMLSchema\XML\xs\SimpleDerivationInterface $derivation |
||
| 37 | */ |
||
| 38 | protected function setDerivation(SimpleDerivationInterface $derivation): void |
||
| 41 | } |
||
| 42 | } |
||
| 43 |