Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

UtilsClassesServiceProvider::register()publicWC 1.0

Register the classes.

Method of the class: UtilsClassesServiceProvider{}

No Hooks.

Return

null. Nothing (null).

Usage

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

UtilsClassesServiceProvider::register() code WC 8.7.0

public function register() {
	$this->share( DatabaseUtil::class );
	$this->share( HtmlSanitizer::class );
	$this->share( OrderUtil::class );
	$this->share( PluginUtil::class )
		->addArgument( LegacyProxy::class );
	$this->share( COTMigrationUtil::class )
		->addArguments( array( CustomOrdersTableController::class, DataSynchronizer::class ) );
	$this->share( WebhookUtil::class );
	$this->share( TimeUtil::class );
}