| | |
| | | } |
| | | trait heightTrait { |
| | | /** |
| | | * @var Distance|QuantitativeValue The height of the item. |
| | | * @var Distance|QuantitativeValue|string The height of the item. |
| | | */ |
| | | protected Distance|QuantitativeValue $height; |
| | | protected Distance|QuantitativeValue|string $height; |
| | | |
| | | public function getHeight():Distance|QuantitativeValue|null |
| | | public function getHeight():Distance|QuantitativeValue|string|null |
| | | { |
| | | return $this->height??null; |
| | | } |
| | | public function setHeight(Distance|QuantitativeValue $height):void |
| | | public function setHeight(Distance|QuantitativeValue|string $height):void |
| | | { |
| | | $this->height = $height; |
| | | } |