Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

ProductReviewsServiceProvider::register()publicWC 1.0

Register the classes.

Method of the class: ProductReviewsServiceProvider{}

No Hooks.

Return

null. Nothing (null).

Usage

$ProductReviewsServiceProvider = new ProductReviewsServiceProvider();
$ProductReviewsServiceProvider->register();

ProductReviewsServiceProvider::register() code WC 8.7.0

public function register() {
	$this->share( Reviews::class );
	$this->share( ReviewsCommentsOverrides::class );
}