phpDocumentor

ProductDownloadRepository extends AbstractEventDispatchingRepository implements ProductDownloadRepository

Class ProductDownloadRepository

Interfaces, Classes and Traits

ProductDownloadRepository
Interface ProductDownloadRepository

Table of Contents

$deleter  : ProductDownloadDeleter
$eventDispatcher  : EventDispatcherInterface
$inserter  : ProductDownloadInserter
$mapper  : ProductDownloadMapper
$permitters  : array<string|int, ProductDownloadOperationPermitter>
$reader  : ProductDownloadReader
$updater  : ProductDownloadUpdater
__construct()  : mixed
ProductDownloadRepository constructor.
createMultipleProductDownloads()  : ProductOptionIds
createProductDownload()  : ProductOptionId
deleteAllProductDownloadsByProductId()  : void
deleteProductDownloads()  : void
dispatchEntityEvents()  : void
dispatchEvent()  : void
filterProductDownloads()  : ProductDownloads
getProductDownloadById()  : ProductDownload
getProductDownloadsByProductId()  : ProductDownloads
getProductDownloadsTotalCount()  : int
registerOperationPermitter()  : void
storeProductDownloads()  : void
setEventDispatcher()  : void

Properties

Methods

__construct()

ProductDownloadRepository constructor.

public __construct(ProductDownloadMapper $mapper, ProductDownloadReader $reader, ProductDownloadDeleter $deleter, ProductDownloadInserter $inserter, ProductDownloadUpdater $updater, EventDispatcherInterface $dispatcher) : mixed
Parameters
$mapper : ProductDownloadMapper
$reader : ProductDownloadReader
$deleter : ProductDownloadDeleter
$inserter : ProductDownloadInserter
$updater : ProductDownloadUpdater
$dispatcher : EventDispatcherInterface
Return values
mixed

createProductDownload()

public createProductDownload(ProductId $productId, OptionAndOptionValueId $optionAndOptionValueId, ImageListId $imageListId, OptionValueCustomization $optionValueCustomization, ProductDownloadStock $productDownloadStock, int $sortOrder) : ProductOptionId
Parameters
$productId : ProductId
$optionAndOptionValueId : OptionAndOptionValueId
$imageListId : ImageListId
$optionValueCustomization : OptionValueCustomization
$productDownloadStock : ProductDownloadStock
$sortOrder : int
Tags
inheritDoc
Return values
ProductOptionId

setEventDispatcher()

protected setEventDispatcher(EventDispatcherInterface $eventDispatcher) : void
Parameters
$eventDispatcher : EventDispatcherInterface
Return values
void

Search results