class Volume

Properties

protected int $volume The products volume.
protected string $volumeUnit The volume unit.

Methods

__construct(Product $product)

Create a new volume instance.

int
quantity()

Get the volume qunatity.

string
unit()

Get the volumes unit.

Details

at line 26
__construct(Product $product)

Create a new volume instance.

Parameters

Product $product

at line 37
int quantity()

Get the volume qunatity.

Return Value

int

at line 47
string unit()

Get the volumes unit.

Return Value

string