AddonValueService

Implements \AddonValueServiceInterface

Class AddonValueService

This service will handle the addon values for different contexts of the shop. The addon values is a mechanism for external developers to introduce values to key-entities of the project (e.g. order, product etc.) without further changing the database structure. Take a look at the "Storages" directory for the available storage classes. More classes will be created gradually.

category

System

package

AddonValue

Methods

AddonValueService Constructor

__construct(\AddonValueStorageFactoryInterface $addonValueStorageFactory) 

Arguments

$addonValueStorageFactory

\AddonValueStorageFactoryInterface

Remove the addon values of a storage container.

deleteAddonValues(\AddonValueContainerInterface $container) : \AddonValueService

Arguments

Response

\AddonValueService

Returns the class instance.

Load the addon values of a storage container from the database.

loadAddonValues(\AddonValueContainerInterface $container) : \AddonValueService

Arguments

Response

\AddonValueService

Returns the class instance.

Save the addon values of a storage container in the database.

storeAddonValues(\AddonValueContainerInterface $container) : \AddonValueService

Arguments

Response

\AddonValueService

Returns the class instance.

Properties

addonValueStorageFactory

addonValueStorageFactory : \AddonValueStorageFactory