phpDocumentor

ShoppingCartItems
in package
implements IteratorAggregate

Interfaces, Classes and Traits

IteratorAggregate

Table of Contents

$values  : array<string|int, mixed>
create()  : self
Create a new instance of ShoppingCartItems
getIterator()  : ArrayIterator|array<string|int, ShoppingCartItem>
toArray()  : array<string|int, mixed>
returns the Shopping Cart Items
__construct()  : mixed
Constructor

Properties

Methods

toArray()

returns the Shopping Cart Items

public toArray([string $format = "Y-m-d" ]) : array<string|int, mixed>
Parameters
$format : string = "Y-m-d"
Return values
array<string|int, mixed>

__construct()

Constructor

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

Search results