Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

BatchProcessingServiceProvider::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.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код BatchProcessingServiceProvider::register() WC 8.7.0

public function register() {
	$this->share( BatchProcessingController::class, new BatchProcessingController() );
	$this->share_with_implements_tags( OrderCouponDataMigrator::class );
}