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