Repository
in package
implements
RepositoryInterface
Class Repository
Interfaces, Classes and Traits
Table of Contents
- $reader : ReaderInterface
- __construct() : mixed
- Repository constructor.
- getQuantity() : mixed
- isDownloadModifier() : bool
Properties
$reader
protected
ReaderInterface
$reader
Methods
__construct()
Repository constructor.
public
__construct(ReaderInterface $reader) : mixed
Parameters
- $reader : ReaderInterface
Return values
mixed —getQuantity()
public
getQuantity(ProductId $productId, AttributeModifierIdentifier $modifierId, ProductDataInterface $product, QuantityInterface $quantity) : mixed
Parameters
- $productId : ProductId
- $modifierId : AttributeModifierIdentifier
- $product : ProductDataInterface
- $quantity : QuantityInterface
Tags
Return values
mixed —isDownloadModifier()
public
isDownloadModifier(ProductId $productId, AttributeModifierIdentifier $identifier) : bool
Parameters
- $productId : ProductId
- $identifier : AttributeModifierIdentifier