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 (null).

Usage

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

CustomOrdersTableController::init() code WC 8.7.0

final public function init(
	OrdersTableDataStore $data_store,
	DataSynchronizer $data_synchronizer,
	LegacyDataCleanup $data_cleanup,
	OrdersTableRefundDataStore $refund_data_store,
	BatchProcessingController $batch_processing_controller,
	FeaturesController $features_controller,
	OrderCache $order_cache,
	OrderCacheController $order_cache_controller,
	PluginUtil $plugin_util
) {
	$this->data_store                  = $data_store;
	$this->data_synchronizer           = $data_synchronizer;
	$this->data_cleanup                = $data_cleanup;
	$this->batch_processing_controller = $batch_processing_controller;
	$this->refund_data_store           = $refund_data_store;
	$this->features_controller         = $features_controller;
	$this->order_cache                 = $order_cache;
	$this->order_cache_controller      = $order_cache_controller;
	$this->plugin_util                 = $plugin_util;
}