Class AddonValueService

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.

AddonValueService implements AddonValueServiceInterface

Methods summary

public __construct( AddonValueStorageFactoryInterface $addonValueStorageFactory )

AddonValueService Constructor

public storeAddonValues( AddonValueContainerInterface $container ) : AddonValueService

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

public loadAddonValues( AddonValueContainerInterface $container ) : AddonValueService

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

public deleteAddonValues( AddonValueContainerInterface $container ) : AddonValueService

Remove the addon values of a storage container.

Properties summary