Automattic\WooCommerce\Database\Migrations

TableMigrator::process_migration_data()publicWC 1.0

Process migration data for a batch of entities.

Method of the class: TableMigrator{}

No Hooks.

Return

Array. Array of errors and exception if any.

Usage

$TableMigrator = new TableMigrator();
$TableMigrator->process_migration_data( $data );
$data(array) (required)
Data to be migrated. Should be of the form: array( 'data' => array( ... ) ) as returned by the fetch_sanitized_migration_data method.

TableMigrator::process_migration_data() code WC 9.7.1

public function process_migration_data( array $data ) {
	throw new \Exception( 'Not implemented' );
}