phpDocumentor

ProductOptions implements IteratorAggregate

Class ProductOptions

Interfaces, Classes and Traits

IteratorAggregate

Table of Contents

$productOptions  : array<string|int, ProductOption>
create()  : ProductOptions
getIterator()  : Traversable|array<string|int, ProductOption>
toArray()  : array<string|int, mixed>
__construct()  : mixed
ProductOptions constructor.

Properties

Methods

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

__construct()

ProductOptions constructor.

private __construct(array<string|int, ProductOption$variants) : mixed
Parameters
$variants : array<string|int, ProductOption>
Return values
mixed

Search results