phpDocumentor

Wishlist
in package

Table of Contents

$customerId  : CustomerId
$items  : WishlistItems
create()  : self
Creates a new instance of Wishlist.
customerId()  : int
Returns the Customer ID.
items()  : WishlistItems
Returns the Wishlist Items.
toArray()  : array<string|int, mixed>
Returns the contents of this Value Object as an array.
__construct()  : mixed
Constructor

Properties

Methods

customerId()

Returns the Customer ID.

public customerId() : int
Return values
int

toArray()

Returns the contents of this Value Object as an array.

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

Search results