ProductDownloads
in package
implements
IteratorAggregate
Class ProductDownloads
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $productOptions : array<string|int, ProductDownload>
- create() : ProductDownloads
- getIterator() : Traversable|array<string|int, ProductDownload>
- toArray() : array<string|int, mixed>
- __construct() : mixed
- ProductDownloads constructor.
Properties
$productOptions
private
array<string|int, ProductDownload>
$productOptions
Methods
create()
public
static create(ProductDownload ...$productOptions) : ProductDownloads
Parameters
- $productOptions : ProductDownload
Return values
ProductDownloads —getIterator()
public
getIterator() : Traversable|array<string|int, ProductDownload>
Return values
Traversable|array<string|int, ProductDownload> —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —__construct()
ProductDownloads constructor.
private
__construct(array<string|int, ProductDownload> $variants) : mixed
Parameters
- $variants : array<string|int, ProductDownload>