ModifierReaderComposite
in package
implements
ModifierReaderCompositeInterface
Class ModifierReaderComposite
Interfaces, Classes and Traits
- ModifierReaderCompositeInterface
- Interface ModifierReaderCompositeInterface
Table of Contents
- $composites : array<string|int, ModifierReaderCompositeInterface>
- __construct() : mixed
- GroupReaderComposite constructor.
- getModifierByProduct() : ModifierDTOCollectionInterface
- getModifierBySellingUnit() : mixed
Properties
$composites
protected
array<string|int, ModifierReaderCompositeInterface>
$composites
Methods
__construct()
GroupReaderComposite constructor.
public
__construct(ModifierReaderCompositeInterface|null ...$composites) : mixed
Parameters
- $composites : ModifierReaderCompositeInterface|null
Return values
mixed —getModifierByProduct()
public
getModifierByProduct(ProductId $id, LanguageId $languageId) : ModifierDTOCollectionInterface
Parameters
- $id : ProductId
- $languageId : LanguageId
Tags
Return values
ModifierDTOCollectionInterface —getModifierBySellingUnit()
public
getModifierBySellingUnit(SellingUnitId $id, LanguageId $languageId) : mixed
Parameters
- $id : SellingUnitId
- $languageId : LanguageId