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