phpDocumentor

ReviewReader

Class ReviewReader

Table of Contents

$connection  : Connection
__construct()  : mixed
getCustomerReviewByReviewId()  : array<string|int, mixed>
Returns a specific customer review based on the given ID.
getCustomerReviews()  : array<string|int, mixed>
Returns all available customer reviews.
createQuery()  : QueryBuilder

Properties

Methods

__construct()

public __construct(Connection $connection) : mixed
Parameters
$connection : Connection
Return values
mixed

getCustomerReviewByReviewId()

Returns a specific customer review based on the given ID.

public getCustomerReviewByReviewId(ReviewId $reviewId) : array<string|int, mixed>
Parameters
$reviewId : ReviewId
Tags
throws
ReviewDoesNotExistException
Return values
array<string|int, mixed>

getCustomerReviews()

Returns all available customer reviews.

public getCustomerReviews(CustomerId $customerId) : array<string|int, mixed>
Parameters
$customerId : CustomerId
Tags
throws
Exception
Return values
array<string|int, mixed>

createQuery()

private createQuery() : QueryBuilder
Return values
QueryBuilder

Search results