Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
BatchProcessingServiceProvider::register()
Use the register method to register items with the container via the protected $this->leagueContainer property or the getLeagueContainer method from the ContainerAwareTrait.
Method of the class: BatchProcessingServiceProvider{}
No Hooks.
Return
null
. Nothing (null).
Usage
$BatchProcessingServiceProvider = new BatchProcessingServiceProvider(); $BatchProcessingServiceProvider->register();
BatchProcessingServiceProvider::register() BatchProcessingServiceProvider::register code WC 8.7.0
public function register() { $this->share( BatchProcessingController::class, new BatchProcessingController() ); $this->share_with_implements_tags( OrderCouponDataMigrator::class ); }