Repository
in package
Table of Contents
- $dispatcher : EventDispatcherInterface
- __construct() : mixed
- RepositoryInterface constructor.
- getImagesFor() : mixed
- getMainImageFor() : SellingUnitImageCollection
Properties
$dispatcher
private
EventDispatcherInterface
$dispatcher
Methods
__construct()
RepositoryInterface constructor.
public
__construct(EventDispatcherInterface $dispatcher) : mixed
Parameters
- $dispatcher : EventDispatcherInterface
Return values
mixed —getImagesFor()
public
getImagesFor(ProductId $id, ModifierIdentifierCollectionInterface $modifiers) : mixed
Parameters
- $id : ProductId
- $modifiers : ModifierIdentifierCollectionInterface
Return values
mixed —getMainImageFor()
public
getMainImageFor(product_ORIGIN $product, ProductId $id, ModifierIdentifierCollectionInterface $modifiers, LanguageId $languageId) : SellingUnitImageCollection
Parameters
- $product : product_ORIGIN
- $id : ProductId
- $modifiers : ModifierIdentifierCollectionInterface
- $languageId : LanguageId