Repository
in package
implements
RepositoryInterface
Class Repository
Interfaces, Classes and Traits
- RepositoryInterface
- Interface RepositoryInterface
Table of Contents
- $reader : ReaderInterface
- $isAttributeStockCheckActive : bool
- $outOfStockMarkings : OutOfStockMarkings
- __construct() : mixed
- Repository constructor.
- selectionHtmlGenerator() : ModifierHtmlGenerator
- createGenerator() : ModifierHtmlGenerator
Properties
$reader
protected
ReaderInterface
$reader
$isAttributeStockCheckActive
private
bool
$isAttributeStockCheckActive
$outOfStockMarkings
private
OutOfStockMarkings
$outOfStockMarkings
Methods
__construct()
Repository constructor.
public
__construct(ReaderInterface $reader, OutOfStockMarkings $outOfStockMarkings, bool $isAttributeStockCheckActive) : mixed
Parameters
- $reader : ReaderInterface
- $outOfStockMarkings : OutOfStockMarkings
- $isAttributeStockCheckActive : bool
Return values
mixed —selectionHtmlGenerator()
public
selectionHtmlGenerator(ModifierIdentifierCollectionInterface $identifiers, LanguageId $languageId, QuantityInterface $selectedQuantity, SellingUnitStockInterface $sellingUnitStock) : ModifierHtmlGenerator
Parameters
- $identifiers : ModifierIdentifierCollectionInterface
- $languageId : LanguageId
- $selectedQuantity : QuantityInterface
- $sellingUnitStock : SellingUnitStockInterface
Tags
Return values
ModifierHtmlGenerator —createGenerator()
protected
createGenerator(array<string|int, mixed> $dtos, QuantityInterface $selectedQuantity, SellingUnitStockInterface $sellingUnitStock) : ModifierHtmlGenerator
Parameters
- $dtos : array<string|int, mixed>
- $selectedQuantity : QuantityInterface
- $sellingUnitStock : SellingUnitStockInterface