WordPress at a glance
class is not described

Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

ProductAttributesLookupServiceProvider{} WC 1.0

Service provider for the ProductAttributesLookupServiceProvider namespace.

No Hooks.

Return

null. Nothing.

Usage

$ProductAttributesLookupServiceProvider = new ProductAttributesLookupServiceProvider();
// use class methods

Methods

  1. register()

Code of ProductAttributesLookupServiceProvider{} WC 5.4.1

<?php
class ProductAttributesLookupServiceProvider extends AbstractServiceProvider {

	/**
	 * The classes/interfaces that are serviced by this service provider.
	 *
	 * @var array
	 */
	protected $provides = array(
		DataRegenerator::class,
	);

	/**
	 * Register the classes.
	 */
	public function register() {
		$this->share( DataRegenerator::class )->addArgument( LookupDataStore::class );
		$this->share( LookupDataStore::class );
	}
}