Repository
in package
implements
RepositoryInterface
Class Repository
Interfaces, Classes and Traits
- RepositoryInterface
- Interface RepositoryInterface
Table of Contents
- $reader : ReaderInterface
- __construct() : mixed
- Repository constructor.
- getAttributeBy() : AttributeDTO
Properties
$reader
protected
ReaderInterface
$reader
Methods
__construct()
Repository constructor.
public
__construct(ReaderInterface $reader) : mixed
Parameters
- $reader : ReaderInterface
Return values
mixed —getAttributeBy()
public
getAttributeBy(AttributeModifierIdentifier $attributeValueId, ProductId $productId) : AttributeDTO
Parameters
- $attributeValueId : AttributeModifierIdentifier
- $productId : ProductId