| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 42.86% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | trait TraitSupersededBy |
||
| 15 | { |
||
| 16 | use DaftObjectTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return array<int, IntangibleClass|Enumeration|IntangibleProperty> |
||
| 20 | */ |
||
| 21 | 4 | public function GetSupersededBy() : array |
|
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var array<int, IntangibleClass|Enumeration|IntangibleProperty> |
||
| 25 | */ |
||
| 26 | 4 | $out = TypeUtilities::ExpectRetrievedValueIsArray( |
|
| 27 | 4 | 'supersededBy', |
|
| 28 | 4 | $this->RetrievePropertyValueFromData('supersededBy'), |
|
|
|
|||
| 29 | 4 | static::class |
|
| 30 | ); |
||
| 31 | |||
| 32 | 4 | return $out; |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param array<int, IntangibleClass|Enumeration|IntangibleProperty> $value |
||
| 37 | */ |
||
| 38 | public function SetSupersededBy(array $value) : void |
||
| 47 | ); |
||
| 48 | } |
||
| 50 |