Automattic\WooCommerce\Internal\Utilities
COTMigrationUtil::init()
Initialize method, invoked by the DI container.
Method of the class: COTMigrationUtil{}
No Hooks.
Return
null
. Nothing (null).
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() COTMigrationUtil::init code WC 9.3.3
final public function init( CustomOrdersTableController $table_controller, DataSynchronizer $data_synchronizer ) { $this->table_controller = $table_controller; $this->data_synchronizer = $data_synchronizer; }