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
Constant | Visibility | Type | Value |
---|---|---|---|
PRODUCT_LISTENER | public | string | ’reviews.product_listener’ |
FETCHER | public | string | ’reviews.fetcher’ |
CACHER | public | string | ’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:
Parameter | Type | Description |
---|---|---|
$container | \Pimple\Container | The DI container for registering services. |
Automatically generated on 2025-01-21