phpDocumentor

ShoppingCart
in package

Table of Contents

$customerId  : CustomerId
$items  : ShoppingCartItems
create()  : self
Creates a new instance of Shopping Cart
customerId()  : int
Returns the Customer ID
items()  : ShoppingCartItems
Returns the Shopping Cart Items
toArray()  : array<string|int, mixed>
Returns an array containing the class members
__construct()  : mixed
Constructor

Properties

Methods

customerId()

Returns the Customer ID

public customerId() : int
Return values
int

toArray()

Returns an array containing the class members

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

Search results