AttributeGroupReader
in package
implements
AttributeGroupReaderInterface
Class AttributeGroupReader
Interfaces, Classes and Traits
Table of Contents
- $builder : GroupDTOBuilderInterface
- $connection : Connection
- __construct() : mixed
- AttributeGroupReader constructor.
- getGroupsByProduct() : GroupDTOCollectionInterface
- getGroupsBySellingUnit() : GroupDTOCollectionInterface
Properties
$builder
private
GroupDTOBuilderInterface
$builder
$connection
private
Connection
$connection
Methods
__construct()
AttributeGroupReader constructor.
public
__construct(Connection $connection, GroupDTOBuilderInterface $builder) : mixed
Parameters
- $connection : Connection
- $builder : GroupDTOBuilderInterface
Return values
mixed —getGroupsByProduct()
public
getGroupsByProduct(ProductId $id, LanguageId $languageId) : GroupDTOCollectionInterface
Parameters
- $id : ProductId
- $languageId : LanguageId
Tags
Return values
GroupDTOCollectionInterface —getGroupsBySellingUnit()
public
getGroupsBySellingUnit(SellingUnitId $id) : GroupDTOCollectionInterface
Parameters
- $id : SellingUnitId