Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

UtilsClassesServiceProvider::register()publicWC 1.0

Register the classes.

Метод класса: UtilsClassesServiceProvider{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of UtilsClassesServiceProvider::register() WC 7.1.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 ) );
}