ReadServiceImageListsCollectionFactory

Implements \Gambio\ProductImageList\ReadService\Interfaces\ReadServiceImageListsCollectionFactoryInterface

Class ReadServiceImageListFactory

package

Gambio\ProductImageList\ReadService\Factories

Methods

ReadServiceImageListFactory constructor.

__construct(\LanguageProviderInterface $languageProvider, \Gambio\ProductImageList\Image\Interfaces\ImageBuilderInterface $imageBuilder, \Gambio\ProductImageList\ImageList\Interfaces\ImageListBuilderInterface $imageListBuilder, string $shopWebPath, string $shopLocalPath) 

createImageId

createImageId(integer $imageId) : \Gambio\ProductImageList\Image\ValueObjects\Id

Arguments

$imageId

integer

Response

\Gambio\ProductImageList\Image\ValueObjects\Id

createImageListCollection

createImageListCollection(array $imageListDtos, array $imageListImageDtos, array $imageListImageTextDtos) : \Gambio\ProductImageList\Collections\ImageListsCollection
inheritDoc
Throws
\Gambio\ProductImageList\Image\Exceptions\FileDoesNotExistException
\Gambio\ProductImageList\Image\Exceptions\PathIsNotAnUrlException
\Gambio\ProductImageList\Image\Exceptions\UnfinishedBuildException
\Gambio\ProductImageList\ImageList\Exceptions\UnfinishedBuildException

Arguments

$imageListDtos

array

$imageListImageDtos

array

$imageListImageTextDtos

array

Response

\Gambio\ProductImageList\Collections\ImageListsCollection

createImageListImageTextCollections

createImageListImageTextCollections(array<mixed,\Gambio\ProductImageList\ReadService\Interfaces\ImageListImageTextDtoInterface> $imageListImageTextDtos) 

createImages

createImages(array<mixed,\Gambio\ProductImageList\ReadService\Interfaces\ImageListImageDtoInterface> $imageListImageDtos) 
Throws
\Gambio\ProductImageList\Image\Exceptions\FileDoesNotExistException
\Gambio\ProductImageList\Image\Exceptions\PathIsNotAnUrlException
\Gambio\ProductImageList\Image\Exceptions\UnfinishedBuildException

Arguments

createLanguageCode

createLanguageCode(integer $languageId) : \Gambio\ProductImageList\Image\ValueObjects\LanguageCode

Arguments

$languageId

integer

Response

\Gambio\ProductImageList\Image\ValueObjects\LanguageCode

factoryReset

factoryReset() 

webPathFromLocalPath

webPathFromLocalPath(string $localPath) : string

Arguments

$localPath

string

Response

string

Properties

languageProvider

languageProvider : \LanguageProviderInterface

imageIdStack

imageIdStack : array<mixed,\Gambio\ProductImageList\Image\ValueObjects\Id>

languageCodeStack

languageCodeStack : array<mixed,\Gambio\ProductImageList\Image\ValueObjects\LanguageCode>

textCollections

textCollections : array<mixed,\Gambio\ProductImageList\Image\Collections\TextCollection>

images

images : array<mixed,\Gambio\ProductImageList\Image\Interfaces\ImageInterface>

imageBuilder

imageBuilder : \Gambio\ProductImageList\Image\Interfaces\ImageBuilderInterface

shopWebPath

shopWebPath : string
var

Type(s)

string

shopLocalPath

shopLocalPath : string
var

Type(s)

string

imageListBuilder

imageListBuilder : \Gambio\ProductImageList\ImageList\Interfaces\ImageListBuilderInterface