ClassesBigCommerceContainerReviews

Reviews

Provides functionality for managing reviews in the BigCommerce container.

Registers services for handling review-related operations, including caching, fetching, and product updates.

  • Full name: \BigCommerce\Container\Reviews
  • Parent class: Provider

Constants

ConstantVisibilityTypeValue
PRODUCT_LISTENERpublicstring’reviews.product_listener’
FETCHERpublicstring’reviews.fetcher’
CACHERpublicstring’reviews.cacher’

Methods

register

Registers review-related services in the container.

public register(\Pimple\Container $container): mixed

Services include:

  • Product update listener for tracking metadata changes.
  • Review fetcher for retrieving reviews from the API.
  • Review cache for caching reviews and updating the cache on product updates.

Parameters:

ParameterTypeDescription
$container\Pimple\ContainerThe DI container for registering services.


Automatically generated on 2025-01-21