Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

ProductDownloadsServiceProvider::register()publicWC 1.0

Register the classes.

Method of the class: ProductDownloadsServiceProvider{}

No Hooks.

Return

null. Nothing.

Usage

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

ProductDownloadsServiceProvider::register() code WC 7.1.0

public function register() {
	$this->share( Register::class );
	$this->share( Synchronize::class )->addArgument( Register::class );
	$this->share( SyncUI::class )->addArgument( Register::class );
	$this->share( UI::class )->addArgument( Register::class );
}