Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::init()publicWC 1.0

Class initialization, invoked by the DI container.

Method of the class: CustomOrdersTableController{}

No Hooks.

Return

null. Nothing.

Usage

$CustomOrdersTableController = new CustomOrdersTableController();
$CustomOrdersTableController->init(;

CustomOrdersTableController::init() code WC 7.1.1

final public function init(
	OrdersTableDataStore $data_store,
	DataSynchronizer $data_synchronizer,
	OrdersTableRefundDataStore $refund_data_store,
	BatchProcessingController $batch_processing_controller,
	FeaturesController $features_controller ) {
	$this->data_store                  = $data_store;
	$this->data_synchronizer           = $data_synchronizer;
	$this->batch_processing_controller = $batch_processing_controller;
	$this->refund_data_store           = $refund_data_store;
	$this->features_controller         = $features_controller;
}