Repository
in package
implements
RepositoryInterface
Class Repository
Interfaces, Classes and Traits
- RepositoryInterface
- Interface RepositoryInterface
Table of Contents
- $combisIdIdentifier : CombisIdIdentifierInterface
- $reader : ReaderInterface
- $factory : PresentationIdFactoryInterface
- __construct() : mixed
- Repository constructor.
- getPresentationIdCollection() : PresentationIdCollectionInterface
- getAttributeOptionValuesIds() : array<string|int, int>
Properties
$combisIdIdentifier
protected
CombisIdIdentifierInterface
$combisIdIdentifier
$reader
protected
ReaderInterface
$reader
$factory
private
PresentationIdFactoryInterface
$factory
Methods
__construct()
Repository constructor.
public
__construct(ReaderInterface $reader, PresentationIdFactoryInterface $factory, CombisIdIdentifierInterface $combisIdIdentifier) : mixed
Parameters
- $reader : ReaderInterface
- $factory : PresentationIdFactoryInterface
- $combisIdIdentifier : CombisIdIdentifierInterface
Return values
mixed —getPresentationIdCollection()
public
getPresentationIdCollection(PresentationIdCollectionInterface $presentationIdCollection, ModifierIdentifierCollectionInterface $modifierIdentifierCollection, ProductId $productId) : PresentationIdCollectionInterface
Parameters
- $presentationIdCollection : PresentationIdCollectionInterface
- $modifierIdentifierCollection : ModifierIdentifierCollectionInterface
- $productId : ProductId
Tags
Return values
PresentationIdCollectionInterface —getAttributeOptionValuesIds()
protected
getAttributeOptionValuesIds(ModifierIdentifierCollectionInterface $collection) : array<string|int, int>
Parameters
- $collection : ModifierIdentifierCollectionInterface