ReadServiceRepository
in package
implements
ReadServiceRepositoryInterface
Class ReadServiceRepository
Interfaces, Classes and Traits
- ReadServiceRepositoryInterface
- Interface ReadServiceRepositoryInterface
Table of Contents
- $factory : ReadServiceImageListsCollectionFactoryInterface
- $reader : ReadServiceDatabaseReaderInterface
- __construct() : mixed
- ReadServiceRepository constructor.
- getImageListById() : ImageList
- getImageListIdByAttributeId() : ListId
- getImageListIdByCombiId() : ListId
- getImageListIdByCombiModelAndProductsId() : ListId
- getImageLists() : ImageListsCollection
Properties
$factory
protected
ReadServiceImageListsCollectionFactoryInterface
$factory
$reader
protected
ReadServiceDatabaseReaderInterface
$reader
Methods
__construct()
ReadServiceRepository constructor.
public
__construct(ReadServiceDatabaseReaderInterface $reader, ReadServiceImageListsCollectionFactoryInterface $factory) : mixed
Parameters
- $reader : ReadServiceDatabaseReaderInterface
- $factory : ReadServiceImageListsCollectionFactoryInterface
Return values
mixed —getImageListById()
public
getImageListById(int $id) : ImageList
Parameters
- $id : int
Tags
Return values
ImageList —getImageListIdByAttributeId()
public
getImageListIdByAttributeId(AttributeIdDtoInterface $dto) : ListId
Parameters
- $dto : AttributeIdDtoInterface
Tags
Return values
ListId —getImageListIdByCombiId()
public
getImageListIdByCombiId(PropertiesCombisIdDtoInterface $dto) : ListId
Parameters
Tags
Return values
ListId —getImageListIdByCombiModelAndProductsId()
public
getImageListIdByCombiModelAndProductsId(CombiModelAndProductsIdDtoInterface $dto) : ListId
Parameters
Tags
Return values
ListId —getImageLists()
public
getImageLists() : ImageListsCollection