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