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. Ничего (null).

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

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

Код COTMigrationServiceProvider::register() WC 9.1.2

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