ReadService
in package
implements
ReadServiceInterface
Class ReadService
Interfaces, Classes and Traits
- ReadServiceInterface
- Interface ProductImageServiceInterface
Table of Contents
- $repository : RepositoryInterface
- __construct() : mixed
- ReadService constructor.
- getProductImages() : SellingUnitImageInterface|null
- mainProductImage() : SellingUnitImageInterface|null
Properties
$repository
protected
RepositoryInterface
$repository
Methods
__construct()
ReadService constructor.
public
__construct(RepositoryInterface $repository) : mixed
Parameters
- $repository : RepositoryInterface
Return values
mixed —getProductImages()
public
getProductImages(ProductId $id, LanguageId $languageId) : SellingUnitImageInterface|null
Parameters
- $id : ProductId
- $languageId : LanguageId
Tags
Return values
SellingUnitImageInterface|null —mainProductImage()
public
mainProductImage(ProductId $id, LanguageId $languageId) : SellingUnitImageInterface|null
Parameters
- $id : ProductId
- $languageId : LanguageId