Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

COTMigrationServiceProvider::register()publicWC 1.0

Use the register method to register items with the container via the protected $this->leagueContainer property or the getLeagueContainer method from the ContainerAwareTrait.

{} Это метод класса: COTMigrationServiceProvider{}

Хуков нет.

Возвращает

null. Ничего.

Использование

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

Код COTMigrationServiceProvider::register() WC 6.6.1

public function register() {
	$this->share( PostsToOrdersMigrationController::class );
}