| 1 | <?php |
||
| 20 | trait FloatQuantityTrait { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Quantity. |
||
| 24 | * |
||
| 25 | * @var float|null |
||
| 26 | */ |
||
| 27 | protected $quantity; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the quantity. |
||
| 31 | * |
||
| 32 | * @return float|null Returns the quantity. |
||
| 33 | */ |
||
| 34 | public function getQuantity(): ?float { |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Set the quantity. |
||
| 40 | * |
||
| 41 | * @param float|null $quantity The quantity. |
||
| 42 | * @return self Returns this instance. |
||
| 43 | */ |
||
| 44 | public function setQuantity(?float $quantity): self { |
||
| 48 | } |
||
| 49 |