phpDocumentor

CustomerReview

Class CustomerReview

Table of Contents

$creationTime  : DateTimeImmutable
$customerId  : CustomerId
$productId  : int
$rating  : int
$reviewId  : ReviewId
$text  : ReviewText
code()  : string
create()  : CustomerReview
creationTime()  : string
Returns the creation time of the customer memo.
customerId()  : int
productId()  : int
rating()  : int
reviewId()  : int
text()  : string
toArray()  : array<string|int, mixed>
__construct()  : mixed

Properties

Methods

creationTime()

Returns the creation time of the customer memo.

public creationTime([string $datetimeFormat = 'Y-m-d H:i:s' ]) : string
Parameters
$datetimeFormat : string = 'Y-m-d H:i:s'
Return values
string

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>

Search results