ReviewReader
in package
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
$connection
private
Connection
$connection
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
Return values
array<string|int, mixed> —getCustomerReviews()
Returns all available customer reviews.
public
getCustomerReviews(CustomerId $customerId) : array<string|int, mixed>
Parameters
- $customerId : CustomerId
Tags
Return values
array<string|int, mixed> —createQuery()
private
createQuery() : QueryBuilder