Customers
in package
implements
IteratorAggregate
Class Customers
Tags
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $customers : array<string|int, mixed>
- create() : Customers
- getIterator() : Traversable|Customer
- toArray() : array<string|int, mixed>
- __construct() : mixed
- Customer s constructor.
Properties
$customers
private
array<string|int, mixed>
$customers
Methods
create()
public
static create(Customer ...$customers) : Customers
Parameters
- $customers : Customer
Return values
Customers —getIterator()
public
getIterator() : Traversable|Customer
Return values
Traversable|Customer —[]
toArray()
public
toArray([string $datetimeFormat = 'Y-m-d H:i:s' ]) : array<string|int, mixed>
Parameters
- $datetimeFormat : string = 'Y-m-d H:i:s'
Return values
array<string|int, mixed> —__construct()
Customer s constructor.
private
__construct(array<string|int, mixed> $customers) : mixed
Parameters
- $customers : array<string|int, mixed>