Automattic\WooCommerce\Internal\DataStores\Orders
DataSynchronizer::init()
Class initialization, invoked by the DI container.
Method of the class: DataSynchronizer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$DataSynchronizer = new DataSynchronizer(); $DataSynchronizer->init(;
DataSynchronizer::init() DataSynchronizer::init code WC 9.5.1
final public function init( OrdersTableDataStore $data_store, DatabaseUtil $database_util, PostsToOrdersMigrationController $posts_to_cot_migrator, LegacyProxy $legacy_proxy, OrderCacheController $order_cache_controller, BatchProcessingController $batch_processing_controller ) { $this->data_store = $data_store; $this->database_util = $database_util; $this->posts_to_cot_migrator = $posts_to_cot_migrator; $this->legacy_proxy = $legacy_proxy; $this->error_logger = $legacy_proxy->call_function( 'wc_get_logger' ); $this->order_cache_controller = $order_cache_controller; $this->batch_processing_controller = $batch_processing_controller; }