Automattic\WooCommerce\Internal\CLI\Migrator\Platforms\Shopify

ShopifyMapper::__constructpublicWC 1.0

Constructor.

Method of the class: ShopifyMapper{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ShopifyMapper = new ShopifyMapper();
$ShopifyMapper->__construct( $args );
$args(array)
Optional arguments including 'fields' array for selective processing.
Default: array()

ShopifyMapper::__construct() code WC 10.8.1

public function __construct( array $args = array() ) {
	$this->fields_to_process = $args['fields'] ?? $this->get_default_product_fields();
}