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