ProductDownloadReadService
in package
implements
ProductDownloadReadService
Class ProductDownloadReadService
Interfaces, Classes and Traits
- ProductDownloadReadService
- Interface ProductDownloadReadService
Table of Contents
- $factory : ProductDownloadFactory
- $repository : ProductDownloadRepository
- __construct() : mixed
- ProductDownloadReadService constructor.
- getProductDownloadById() : ProductDownload
- getProductDownloadsByProductId() : ProductDownloads
Properties
$factory
private
ProductDownloadFactory
$factory
$repository
private
ProductDownloadRepository
$repository
Methods
__construct()
ProductDownloadReadService constructor.
public
__construct(ProductDownloadRepository $repository, ProductDownloadFactory $factory) : mixed
Parameters
- $repository : ProductDownloadRepository
- $factory : ProductDownloadFactory
Return values
mixed —getProductDownloadById()
public
getProductDownloadById(int $productOptionId) : ProductDownload
Parameters
- $productOptionId : int
Tags
Return values
ProductDownload —getProductDownloadsByProductId()
public
getProductDownloadsByProductId(int $productId) : ProductDownloads
Parameters
- $productId : int