Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
UtilsClassesServiceProvider::register()
Register the classes.
Метод класса: UtilsClassesServiceProvider{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$UtilsClassesServiceProvider = new UtilsClassesServiceProvider(); $UtilsClassesServiceProvider->register();
Код UtilsClassesServiceProvider::register() UtilsClassesServiceProvider::register WC 9.2.3
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( RestApiUtil::class ); $this->share( TimeUtil::class ); $this->share_with_implements_tags( PluginInstaller::class ); $this->share_with_implements_tags( LegacyRestApiStub::class )->addArgument( RestApiUtil::class ); }