Automattic\WooCommerce\Internal\Utilities

COTMigrationUtil::init()publicWC 1.0

Initialize method, invoked by the DI container.

Method of the class: COTMigrationUtil{}

No Hooks.

Return

null. Nothing.

Usage

$COTMigrationUtil = new COTMigrationUtil();
$COTMigrationUtil->init( $table_controller, $data_synchronizer );
$table_controller(CustomOrdersTableController) (required)
Custom order table controller.
$data_synchronizer(DataSynchronizer) (required)
Data synchronizer.

COTMigrationUtil::init() code WC 7.1.1

final public function init( CustomOrdersTableController $table_controller, DataSynchronizer $data_synchronizer ) {
	$this->table_controller  = $table_controller;
	$this->data_synchronizer = $data_synchronizer;
}