QuantityUnitStorageInterface

Extends

Interface QuantityUnitStorageInterface

category

System

package

QuantityUnit

subpackage

Repositories

Methods

Deletes quantity unit entity data in database.

delete(\QuantityUnitInterface $quantityUnit) : \QuantityUnitStorageInterface

Arguments

$quantityUnit

\QuantityUnitInterface

Quantity unit to be delete.

Response

\QuantityUnitStorageInterface

Same instance for chained method calls.

Returns all quantity unit entities data as array.

getAll() : array

Response

array

Returns quantity unit entity data by the given id.

getById(\IdType $quantityUnitId) : array

Arguments

$quantityUnitId

\IdType

Response

array

Saves quantity unit entity data in database.

save(\QuantityUnitInterface $quantityUnit) : \QuantityUnitStorageInterface

Arguments

$quantityUnit

\QuantityUnitInterface

Quantity unit to be saved.

Response

\QuantityUnitStorageInterface

Same instance for chained method calls.

Updates quantity unit entity data in database.

update(\QuantityUnitInterface $quantityUnit) : \QuantityUnitStorageInterface

Arguments

$quantityUnit

\QuantityUnitInterface

Quantity unit to be updated.

Response

\QuantityUnitStorageInterface

Same instance for chained method calls.