Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

BatchProcessingServiceProvider{}WC 1.0

Class BatchProcessingServiceProvider

No Hooks.

Usage

$BatchProcessingServiceProvider = new BatchProcessingServiceProvider();
// use class methods

Methods

  1. public register()

Notes

  • Package: Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders

BatchProcessingServiceProvider{} code WC 7.1.0

class BatchProcessingServiceProvider extends AbstractServiceProvider {

	/**
	 * Services provided by this provider.
	 *
	 * @var string[]
	 */
	protected $provides = array(
		BatchProcessingController::class,
	);

	/**
	 * Use the register method to register items with the container via the
	 * protected $this->leagueContainer property or the `getLeagueContainer` method
	 * from the ContainerAwareTrait.
	 *
	 * @return void
	 */
	public function register() {
		$this->share( BatchProcessingController::class, new BatchProcessingController() );
	}
}