ProductImageRepository
in package
implements
ProductImageRepositoryInterface
Class ProductImageRepository
Interfaces, Classes and Traits
- ProductImageRepositoryInterface
- Interface ProductImageRepositoryInterface
Table of Contents
- $factory : ProductImageBaseNameFactoryInterface
- $reader : ProductImageReaderInterface
- __construct() : mixed
- ProductImageRepository constructor.
- createBaseName() : ProductImageBaseName
- imagesInUse() : array<string|int, ProductImageBaseName>
Properties
$factory
protected
ProductImageBaseNameFactoryInterface
$factory
$reader
protected
ProductImageReaderInterface
$reader
Methods
__construct()
ProductImageRepository constructor.
public
__construct(ProductImageReaderInterface $reader, ProductImageBaseNameFactoryInterface $factory) : mixed
Parameters
- $reader : ProductImageReaderInterface
- $factory : ProductImageBaseNameFactoryInterface
Return values
mixed —createBaseName()
public
createBaseName(string $path) : ProductImageBaseName
Parameters
- $path : string
Tags
Return values
ProductImageBaseName —imagesInUse()
public
imagesInUse() : array<string|int, ProductImageBaseName>