| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | trait BroadcastFrequency |
||
| 13 | { |
||
| 14 | use DaftObjectTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return array<int, string|BroadcastFrequencySpecification> |
||
| 18 | */ |
||
| 19 | public function GetBroadcastFrequency() : array |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var array<int, string|BroadcastFrequencySpecification> |
||
| 23 | */ |
||
| 24 | $out = TypeUtilities::ExpectRetrievedValueIsArray( |
||
| 25 | 'broadcastFrequency', |
||
| 26 | $this->RetrievePropertyValueFromData('broadcastFrequency'), |
||
|
|
|||
| 27 | static::class |
||
| 28 | ); |
||
| 29 | |||
| 30 | return $out; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array<int, string|BroadcastFrequencySpecification> $value |
||
| 35 | */ |
||
| 36 | public function SetBroadcastFrequency(array $value) : void |
||
| 42 | ); |
||
| 43 | } |
||
| 45 |