ProductGroupPriceCollection
in package
implements
IteratorAggregate, Countable
Class ProductGroupPriceCollection
Tags
Interfaces, Classes and Traits
- IteratorAggregate
- Countable
Table of Contents
- $groupPrices : mixed
- __construct() : mixed
- collect() : mixed
- count() : int
- getArray() : mixed
- getIterator() : Traversable
- _add() : mixed
Properties
$groupPrices
private
mixed
$groupPrices
= []
Methods
__construct()
public
__construct(array<string|int, mixed> $productGroupPrices) : mixed
Parameters
- $productGroupPrices : array<string|int, mixed>
Return values
mixed —collect()
public
static collect(array<string|int, mixed> $productGroupPrices) : mixed
Parameters
- $productGroupPrices : array<string|int, mixed>
Return values
mixed —count()
public
count() : int
Return values
int —getArray()
public
getArray() : mixed
Return values
mixed —getIterator()
public
getIterator() : Traversable
Return values
Traversable —_add()
protected
_add(ProductGroupPriceInterface $groupPrice) : mixed
Parameters
- $groupPrice : ProductGroupPriceInterface