Class ProductSettingsRepository
Class ProductSettingsRepository
- ProductSettingsRepository implements ProductSettingsRepositoryInterface
Package: Product\Repositories
Category: System
Located at Services/Core/Product/Repositories/ProductSettingsRepository.inc.php
Category: System
Located at Services/Core/Product/Repositories/ProductSettingsRepository.inc.php
Methods summary
public
__construct( ProductSettingsRepositoryReaderInterface $reader, ProductSettingsRepositoryWriterInterface $writer )
Initialize the product settings repository.
public
store( IdType $productId, ProductSettingsInterface $settings )
: ProductSettingsRepositoryInterface|ProductSettingsRepository
Saves product settings in the database by the given id.
public
getProductSettingsById( IdType $productId )
: ProductSettingsInterface
Returns a product settings by the given product id.